System and method for classifying signals using timing templates, power templates and other techniques

ABSTRACT

A system and method for classifying signals occurring in a frequency band. One or more characteristics of one or more signals in the frequency band are detected using any suitable technology, such as a device that can generate characteristics of signal pulses detected in the frequency band. Data pertaining to the signal pulses is accumulated over time. The accumulated signal data is compared against reference data associated with known signals to classify the one or more signals in the frequency band based on the comparison. The accumulated data may include one or more characteristics selected from the group consisting of: pulse center frequency, pulse bandwidth, pulse duration, time between pulses and number of different active pulses, and wherein the reference data associated with each of a plurality of known signals comprises one or more characteristics selected from the group consisting of: pulse center frequency, pulse bandwidth, pulse duration and time between pulses. The accumulated signal data is compared against the reference data, and depending on the degree of match with reference data, a signal can be classified. Additional levels of signal classification processing may be performed.

[0001] This application claims priority to each of the following U.S. Provisional Applications, all of which are incorporated herein by reference:

[0002] Application No. 60/319,435, filed Jul. 30, 2002.

[0003] Application No. 60/319,542, filed Sep. 11, 2002.

[0004] Application No. 60/319,714, filed Nov. 20, 2002.

[0005] Application No. 60/453,385, filed Mar. 10, 2003.

[0006] Application No. 60/320,008, filed Mar. 14, 2003.

[0007] This application is related to and a continuation-in-part of U.S. application Ser. No. 10/246,364, filed Sep. 18, 2002 and a continuation-in-part of U.S. application Ser. No. 10/420,362, filed Apr. 22, 2003, the entirety of each of which is incorporated herein by reference.

BACKGROUND OF THE INVENTION

[0008] The present invention is directed to radio communication devices, and more particularly to technology used in a radio communication device to classify or identify signals in a radio frequency band.

[0009] In certain radio communication environments, it would be desirable to know whether and what types of other signals or devices are active. For example, an unlicensed radio frequency band is, by its nature, free to be used by any device that emits signals within certain power levels in that part of the allocated spectrum. It is possible that many devices may share the unlicensed frequency band at the same time, potentially causing interference with each other. Under these circumstances, it would be useful to identify or classify signals detected in the frequency band in order to know, for example, whether a device should take certain actions to avoid interfering with other devices operating in the frequency band.

SUMMARY OF THE INVENTION

[0010] Briefly, a system and method are provided for classifying signals occurring in a frequency band using a plurality of classifier procedures each dedicated to identify a particular signal or signal type. The classifier procedures operate on spectrum activity data that may include pulse event data describing particular types of signal pulses occurring in the frequency band, power versus frequency data for sampling intervals of activity in a frequency band and/or raw analog-to-digital converter samples take of a received signal. The signal classification techniques are useful to identify wireless radio signals occurring in an unlicensed radio frequency band in a radio device operating in that band, or in other computing equipment that processes data representing the activity in the radio frequency band.

[0011] The above and other objects and advantages will become readily apparent when reference is made to the following description taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0012]FIG. 1 is a block diagram showing a general environment for a signal classification system and method.

[0013]FIGS. 2 and 3 illustrate examples of the types of signals that may be simultaneously present in two exemplary radio frequency bands.

[0014]FIG. 4 is a block diagram of an exemplary spectrum analysis component that generates data useful as input to a signal classification process.

[0015]FIG. 5 is a flow chart depicting the various steps of the signal classification process.

[0016]FIG. 6 is a graphical diagram illustrating exemplary signals that may occur in a frequency band and how data related to those signals is accumulated for input into the signal classification process.

[0017]FIG. 7 is diagram showing the time and frequency domain characteristics of several types of signals that may be classified.

[0018]FIG. 8 is a diagram showing how the output of the spectrum analysis component is processed by a plurality of classifiers.

[0019]FIG. 9 is a flow chart depicting how pulse event data is processed by a plurality of classifiers.

[0020]FIG. 10 is an exemplary pulse history table that stores pulse event data used by the classifiers to classify signals.

[0021]FIG. 11 is a diagram showing how each classifier may have its own match criteria.

[0022]FIG. 12 is a diagram showing how test or matching requirements for a classifier may begin initially strict and then may be relaxed over time as confirmation of an occurrence of a corresponding signal is made.

[0023]FIGS. 13 and 15 show how a classifier may be designed to identify a signal based on its pulse timing attributes.

[0024]FIGS. 15, 16 and 17 are diagrams showing a classifier that identifies a signal based on its power (average or instantaneous maximum) attributes.

[0025]FIG. 18 is a diagram showing a classifier that identifies a signal based on FFT samples obtained for a portion (e.g., preamble) or substantially an entire signal pulse.

[0026]FIG. 19 is a flow chart for a process that is useful to optimize the use of processing resources when classifying signals using multiple classifiers.

[0027] FIGS. 20-24 illustrate histograms of signal pulse characteristics (e.g., histograms) of several exemplary signals that may occur in an unlicensed radio frequency band.

[0028]FIG. 25 is a block diagram showing how reference (fingerprint) data for new signals can be generated for use in a signal classification process.

[0029]FIG. 26 is a block diagram showing a spectrum sensor for obtaining the raw data used for signal classification and/or performing the signal classification process.

[0030]FIG. 27 is a block diagram showing use of the signal classification process in a spectrum management system that manages activity in a frequency band.

[0031]FIG. 28 is a ladder diagram illustrating how messages are generated to access SAGE data through a network spectrum interface (NSI).

[0032] FIGS. 29-37 are graphical diagrams showing information that can be displayed by a user interface application as part of the spectrum management system shown in FIG. 27.

DETAILED DESCRIPTION OF THE DRAWINGS

[0033]FIG. 1 shows a general environment for a signal classification system and method. A wireless communication device 1000 operates in an environment, such as an unlicensed radio frequency band, where signals of multiples types may be simultaneously occurring. Examples of other devices sharing the unlicensed frequency band with communication device 1000 are, for example, a cordless phone handset 2000 and cordless phone base station 2005, a wireless headset or other appliance remote 2010 and its base station 2015 (such as a device using the Bluetooth™ protocol or a device using the HomeRF™ protocol), a microwave oven 2020, an infant (video and/or audio) monitor base station 2030, a first wireless local area network (WLAN) device 2040 (such as an access point), a second WLAN device 2045 (such as a station) and a radar device 2050. Additional WLAN devices (e.g., stations) may be operating in the frequency band. Device 1000 may be any type of communication device, such as a WLAN device for example. Device 1000 may be in communication, or capable of communicating, with one or both WLAN devices 2040 and 2045. WLAN device 2045 may be a WLAN AP that is connected to a server 2055 via a wired LAN, e.g., Ethernet. Likewise, the device 1000 may be capable of connecting to the server 2055.

[0034] The communication device 1000 has a radio transceiver 200 coupled to one or more antennas 100. An RF interface 300 is coupled to the radio transceiver 200. A spectrum analysis engine (SAGE) 400 is coupled to the radio transceiver 200. The SAGE 400 is a hardware peripheral that generates real-time spectrum activity information. The output of the SAGE 400 is the raw information used in the classification process. The SAGE 400 will be generally described hereinafter with reference to FIG. 4. It should be understood that any device capable of detecting signals in the frequency band and supplying raw information about those signals can be used in a classification process as described herein.

[0035] Though not specifically shown, the SAGE 400 may reside in a baseband section of a communication device in a VLSI implementation. A processor 600 executes a classification software program, called the classification engine 500, that may comprise processor readable instructions encoded or stored in a processor readable memory 620. Information used by the classification engine 500 to classify signals may be stored locally in a device fingerprint database 610 (also referred to as a profile or reference database). The concept of a fingerprint will be described hereinafter. In addition, new and updated device fingerprints may be downloaded to the communication device 1000 from another communication device 2060 that stores a more comprehensive and updated database 2070 of fingerprint definitions. The processor 600 executing the classification engine 500 may be an on-chip processor in the baseband section, or may be a host processor external to the baseband section, but in the communication device 1000 itself. Alternatively, the classification engine 500 may be executed on another device entirely separate from communication device 1000, in which case communication device 1000 would transmit spectrum information generated by the SAGE 400 via a wireless or wired link to the other device, such as to the server 2055 where the classification engine would be executed. For example, the classification engine could be executed on a server computer that communicates by wire or wirelessly to communication device 1000. Alternatively, if the communication device 1000 is a WLAN station, it may transmit the raw classification information to WLAN device 2045 which may be an access point with greater processing power and capable of overseeing communications in the WLAN. Data output by the SAGE 400 is stored in a memory 620 that the processor 600 accesses when performing the classification operations. The memory 620 may contain the fingerprint database 610 as well.

[0036] The communication device 1000 samples the RF spectrum in which it is operating via the radio transceiver 200. The radio transceiver 200 may downconvert the entire frequency band of interest for a given time interval or a portion of it at a given time interval. In addition, the radio transceiver 200 may scan to different portions of the frequency band to ultimately gather information about the entire frequency band. The SAGE 400 receives and processes the RF information from the radio transceiver 200 to output first level spectrum information, described hereinafter. The classification engine 500 processes the first level spectrum information with the use of device fingerprints to output information characterizing the activity in the RF spectrum and which classifieds/identifies devices operating in the spectrum. When a signal is “classified,” data that describes the spectral parameters of the signal are determined sufficient to know generally what type of signal it is. The parameters may include the bandwidth, center frequency, frequency hopping rate (if it hops), pulse duration, time between pulses, etc. A signal that is classified can also be “identified” such as by the brand of the chipset that transmits its signal, or perhaps so specific as to identify the brand and model of the device that transmits the signal.

[0037]FIGS. 2 and 3 illustrate some examples of the spectral usage of two unlicensed frequency bands in the United States. FIG. 2 shows the spectral profiles of exemplary devices that operate in the 2.4 GHz unlicensed frequency band such as frequency hopper devices, cordless phones, IEEE 802.11b WLAN communication devices, infant monitor devices and microwave ovens. A frequency hopping device will occupy a predictable or random frequency sub-band at any given time, and therefore, over time, may span the entire frequency band. A cordless phone, of the non-frequency hopping variety, may occupy one of several frequency sub-bands (channels) at any given time. An IEEE 802.11b device will occupy one of several channels in the 2.4 GHz band at any given time, and an infant monitor is similar. A microwave oven will emit a burst of energy that may span a significant portion of the unlicensed band.

[0038]FIG. 3 shows a similar set of circumstances for the 5 GHz unlicensed bands. There are actually three unlicensed frequency bands at 5 GHz in the United States. Two of these are contiguous (and are meant to be represented by the diagram in FIG. 3) and the third is not contiguous with the other two (which for simplicity is not considered in FIG. 3). In the 5 GHz unlicensed bands, currently there are IEEE 802.11a WLAN devices operating in one of 8 different frequency sub-bands (channels), direct sequence spread spectrum (DSS) cordless phones, and various radar devices. At the time of this writing, the 5 GHz unlicensed band is relatively new, and not as widely used. However, as history has proven with the 2.4 GHz unlicensed band, greater use of the 5 GHz band is fully expected.

[0039] In an unlicensed band, it is inevitable that two or more of these devices will be transmitting at the same time. There is, therefore, a high likelihood that they will interfere with each other. When interference occurs, a signal from one device to another may not be received properly, causing the sending device to retransmit (and therefore reduce throughput), or possibly entirely destroying the communication link between two communication devices. Therefore, being able to classify or identify signals is an important prerequisite to intelligently managing the use of a shared frequency band. Once a signal type is known, actions in other devices operating in the frequency band can be tailored appropriately.

[0040] With reference to FIG. 4, the SAGE 400 comprises a spectrum analyzer 410, a signal detector 420, a snapshot buffer 430 and a universal signal synchronizer 440. The outputs of these components are read out to the memory 620 from a temporary memory 460, which may be a dual port RAM. The processor 600 accesses the output of the SAGE 400 via the memory 620 and controls the SAGE 400 by writing configuration information to the control registers 450 that configures operation of the SAGE components. More details on the SAGE 400 are disclosed in co-pending commonly assigned co-pending U.S. application Ser. No. 10/246,365, filed Sep. 18, 2002 and U.S. application Ser. No. 10/420,511 filed Apr. 22, 2003, the entirety of each of which is incorporated herein by reference. The memory 460 may comprise circular buffers to store data (for a sampling interval or sampling event) output by the various components of the SAGE 400. The processor 600 may have its own working memory (e.g., RAM) from which it reads data from the memory 620 and operates on data in that working memory to perform the signal classification techniques described herein.

[0041] As described in that application, the SA 410 generates data representing a real-time spectrogram of a bandwidth of RF spectrum, such as, for example, up to 100 MHz using a Fast Fourier Transform (FFT) process. As such, the SA 410 may be used to monitor all activity in a frequency band, such as the 2.4 GHz or 5 GHz bands. As shown in FIG. 4, the data path leading into the SA 410 comprises an automatic gain control block (AGC) block, a windowing block, a NFFT=256-point complex FFT block, and a spectrum correction block. The windowing and FFT blocks may support sampling rates as high as 120 Msps (complex). The windowing block performs pre-FFT windowing on the I and Q data using either a Hanning or rectangular window. The FFT block provides (I and Q) FFT data for each of 256 frequency bins that span the bandwidth of frequency band of interest. For each FFT sampling time interval, the FFT block outputs M (such as 10) bits of data for each FFT frequency bin, for example, 256 bins. The spectrum correction algorithm corrects side tone suppression and DC offset.

[0042] Internal to the SA 410 are a lowpass filter (LPF), a linear-to-log converter, a decimator and a statistics block. The LPF performs a unity-gain, single-pole lowpass filtering operation on the power values of the signal at each FFT frequency. Using P_(ƒƒt)(k) to denote the power value of signal at FFT frequency ƒ(k), the lowpass filter output P_(1pƒ)(k) is updated once per FFT period as follows: P_(lpƒ)(k,t)=a₁·P_(lpƒ)(k,t)+(1−a₁)·P_(lpƒ)(k,t−1), 1≦k≦256,where a₁ is a parameter specifying the LPF bandwidth. The linear-to-log block at the output of the FFT computes the decibel value P_(dB)(k)=10*log(|P_(lpƒ) _(—) td(k)|) for each FFT value P_(lpƒ) _(—td) (k) (in dBFS, i.e., dB from full-scale on the ADC); the decibel value is subsequently converted to an absolute power level (in dBm) by subtracting the receiver gain control from the dBFS value. The stats logic block accumulates and stores the following statistics in the stats buffer of the memory 620: duty cycle vs. frequency during a period of time; average (or running sum of) power vs. frequency during a period of time; maximum (max) power vs. frequency during a period of time; and number of peaks during a period of time. The stats block gives the basic information about other signals surrounding a device operating a SAGE 400. Duty cycle is a running count of the number of times the power at a FFT frequency bin exceeds a power threshold. The max power statistic for each FFT frequency bin is the maximum power at that FFT frequency bin during a sampling interval. The average power statistic is actually tracked as a running sum of the power at each FFT for all FFT intervals, and a software program translates the running sum into an average statistic by accounting for the number of FFT intervals in a single sampling interval. The peaks histogram tracks the number of peaks detected over time intervals. A sampling interval comprises a plurality of FFT intervals, such as 40,000 successive FFTs of (a portion, i.e., narrowband, or the entirety, i.e., wideband of) the frequency band, taken over a total time of {fraction (1/10)} of a second.

[0043] More detailed descriptions and examples of the spectrum analyzer stats are described hereinafter.

[0044] The signal detector 420 comprises a peak detector 422 and one or more configurable pulse detectors 424 coupled to the peak detector. The processor 600 (or another processor coupled to the processor 600, not shown, or another application program) configures the one or more pulse detectors to detect signal pulses that fall within specified ranges of bandwidth, power, center frequency, duration, etc., to detect signal pulses of certain types of signals.

[0045] More specifically, the peak detector 422 detects a peak as a set of FFT points in contiguous FFT frequency bins, each above a configured minimum power level. Once per FFT interval, the peak detector 422 outputs data describing those frequency bins that had a FFT value above a peak threshold and which frequency bin of a contiguous set of frequency bins has a maximum value for that set. In addition, the peak detector 422 passes a power vs. frequency bin data field for each FFT interval. This can be represented by the pseudo code (where k is the frequency bin index): PDB_(diff)(k)= PDB(k) − SD_PEAKTH; If(PDB_(diff)(k) ≧0)   PDB_(peak)(k) = PDB(k);   PEAKEN(k) = 1; Else   PDB_(peak)(k) = 0;   PEAKEN(k) = 0; end

[0046] The peak detector 422 outputs the bandwidth, center frequency and power for each detected peak.

[0047] A pulse detector 424 calculates relative thresholds based on configuration information, and checks whether a peak exceeds the relative thresholds. If a peak exceeds the relative threshold, it defines the peak as a pulse candidate. Once a pulse candidate is found, the pulse detector compares the identified pulse candidate with a pulse definition such as ranges for power, center frequency, bandwidth and duration (defined by the pulse detector configuration information). After matching a pulse candidate with a defined pulse associated with the configuration information, the pulse detector declares that a pulse has been detected and outputs pulse event data (power, center frequency, bandwidth, duration and start time) associated with the detected pulse

[0048] If a pulse detector detects a pulse that meets the configured criteria, it outputs signal pulse event data for that pulse, including one or more of center frequency, bandwidth, duration, time between pulses and power. The spectrum analyzer 410 outputs duty cycle statistics such as the percentage of time of energy at each frequency in a frequency band and the average power and maximum power at each frequency (for example, at each of the 256 FFT frequency bins processed by the spectrum analyzer 410). A pulse detector 424 in the signal detector 420 can also be configured by the processor 600 to trigger the snapshot buffer to store raw analog-to-digital (ADC) samples of the received signal when a pulse of a particular type is detected. Other devices or processes may be used to generate raw spectrum information useful by a signal classification process.

[0049] In essence, two or more pulse detectors function to simultaneously compare the spectral information with at least two sets of signal pulse characteristics, where each set of signal pulse characteristics comprises ranges for at least one of center frequency, duration and bandwidth of signal pulses, such that pulse data is output for any pulses that meet any one of the sets of signal pulse characteristics.

[0050] The SD 420 monitors pulse activity on each of its pulse detectors 424 and sends an SA_SAEVT to the SA 410 when a particular pulse event is detected. This enables the SA 410 to capture power vs. frequency information and spectrum analyzer statistics for a time period following detection of a particular type of signal pulse. Again, this spectrum analyzer data may be useful for signal classification.

[0051] The snapshot buffer 430 is a flexible data storage and triggering mechanism used to collect a set of raw ADC samples for post-processing. When a snapshot trigger condition is detected, the SB 430 buffers a set of ADC samples (DataI and DataQ) and asserts an interrupt to a processor, e.g., processor 600. The processor 600 may then perform background-level processing on the ADC samples for the purposes of signal classification.

[0052] In a prestore mode, the SB 430 writes continuously to a circular buffer in the memory 620 and stops writing and interrupts the processor when a snapshot trigger signal is detected. In a poststore mode, the write operation begins only after a trigger is detected. SB_DELAYSTART and SB_DELAYEND control signals may be used to create a combination pre and post store scenario. The trigger signal is sourced from either the signal detector 420 (SD_SBEVT) or from a module external to the SAGE 400 (SB_TRIG). A 0-1-0 pulse for one CLK cycle on SD_SBEVT or SB_TRIG signals a snapshot trigger condition to the SB 430.

[0053] The snapshot buffer samples may be stored, for example, as two complex samples per 32-bit word. The user may use configure the SB component to perform either a single snapshot buffering operation or to run continuously.

[0054] Consequently, the first level spectrum information may include one or more of:

[0055] 1. Signal pulse data (called pulse events): a list of pulse center frequencies, bandwidths, power, duration and time between pulses, for pulses detected by each of the pulse detectors.

[0056] 2. Duty cycle statistics.

[0057] 3. Average power and maximum power at each frequency.

[0058] 4. Raw analog-to-digital samples of the received signal.

[0059] With reference to the flow chart of FIG. 5, the signal classification process 3000 executed by the classification engine 500 will be generally described. In step 3010, the classification engine captures raw spectrum information, such as signal pulse data, duty cycle and other spectrum statistics, and raw snapshot samples (if any). In step 3020, the classification engine 500 (or a separate process referred to hereinafter in conjunction with FIG. 27 as the measurement engine) accumulates signal pulse and other data from the raw spectrum information. The accumulated data may take the form of histograms, examples of which will be described hereinafter. Accumulated signal pulse data may cover relatively short intervals of time which is suitable for classifying some types of signals, and in other cases, may cover relatively longer intervals of time.

[0060] Steps 3030 through 3050 depict the various ways that the accumulated signal pulse data may be processed to classify a signal. The classification engine 500 uses device fingerprint definitions from a fingerprint database to compare with accumulated signal pulse data. A fingerprint definition includes signal descriptive or other information that is used to identify a device or a class of devices from the signal pulse data. A fingerprint definition may include:

[0061] 1. Characteristics of a signal pulse: center frequency, pulse duration, bandwidth, time between pulses, etc.

[0062] 2. Pulse timing signature template: definition of recurring pulse patterns, commonly related to a particular communication protocol or standard.

[0063] 3. Iterative test definitions: iteratively search for specific signal characteristics.

[0064] 4. Custom algorithms: specific algorithms which examine statistics and pulses looking for a specific device. These are usually communication protocol-specific programs.

[0065] 5. “Expert” system analysis: more “intelligent” program to process historical statistics and pulse events over longer periods of time.

[0066] 6. Techniques for analyzing snapshot samples for a specific preamble/codeword pattern.

[0067] In step 3030, the classification engine 500 compares the accumulated signal pulse data with reference data of known signals in the fingerprint database 610 and tries to classify the pulse(s). In step 3040, pulse timing signatures are for signal classification. Pulse timing signatures templates of known signals are compared against pulse timing signatures derived from the accumulated signal pulse events. Examples of how pulse timing signatures are used are described in more detail hereinafter in conjunction with FIGS. 13 and 14.

[0068] In step 3050, additional algorithms or iterative tests can be performed that are designed to classify otherwise hard to match pulse types. For example, in some cases, fingerprinting may be enhanced by detecting the leading sync-word of a pulse. Raw ADC samples of the frequency spectrum are analyzed for matches with sync-word formats or patterns in the fingerprint database. An algorithm running on a standard microprocessor can classify most sync-words expected to be detected in the unlicensed frequency band.

[0069] In step 3060, an identification/classification alert is generated for each signal that either classifies the signal or specifically identifies it. In addition, the power, duty cycle and center frequency (channel) information for each detected and/or identified pulse (referred to as general spectrum utilization descriptions) is output, as well as information generated by the spectrum analyzer (SA statistics) and the signal detector in the SAGE 400. An identification/classification alert may contain center frequency information (when relevant), a signal identification/classification (described above), a probability indicator, as a well as power and duty cycle information for the signal. The signal identification/classification information may indicate whether the signal is a microwave oven, frequency hopping signal (Bluetooth™ SCO or Bluetooth™ ACL, for example), cordless telephone, IEEE 802.11 signal, IEEE 802.15.3 device, or one of various radar types.

[0070] The order of the steps for the flowchart shown in FIG. 5 is not meant to be restrictive. Any one or a combination of steps 3030, 3040 and 3050 may be performed (in any order in the case of a combination) before step 3060. For example, in some cases, it may be desirable to execute specific classification algorithms on signal pulse data first or early in the sequence of signal classification events.

[0071] Information used to build or compile a fingerprint definition is obtained from one or more of the following sources:

[0072] 1. Industry standards or protocols, such as IEEE 802.11, Bluetooth™, IEEE 802.15.3, HomeRF™, etc.

[0073] 2. Public filings with the U.S. Federal Communications Commission (FCC).

[0074] 3. Public information from research publications.

[0075] 4. Lab tests using a spectrum analyzer, duty cycle analyzer and/or vector analyzer.

[0076] 5. Operations of spectrum analysis engine (e.g., SAGE 400 in FIG. 4) to obtain pulse event duty cycle and spectrum analyzer output information representative of various signals. See FIG. 25 and the accompanying description hereinafter.

[0077]FIG. 6 illustrates exemplary signal pulses of signals that may be present in the frequency band. There is IEEE 802.11b signal activity that consists of pulses 1-6. Pulses 1, 3 and 5 are the forward channel 802.11b transmissions and pulses 2, 4 and 6 are acknowledgement signals. There is also a frequency hopping signal, such as a Bluetooth™ SCO signal comprising pulses 7-14. The timing, strength and duration of the signals are not shown at precise scale. Pulse event information (pulse data) is generated for signal pulses 1-6, for example, by a pulse detector configured appropriately. Pulse event information is generated for signal pulses 7-14 by another pulse detector configured appropriately. The signal pulse data is accumulated over time for the two types of signals. The signal pulse data may be accumulated into various histograms to be described hereinafter. In addition, spectrum analysis information may be derived from the signal activity in the frequency band, and this information can be used to generate, for example, the number of different transmissions that appear to be present in the frequency band at a given time period by counting the number of power values (above a threshold) at different frequencies in the band during the same time interval.

[0078] Examples of the pulse event data that is generated for exemplary pulses shown in FIG. 6 are provided below. Pulse 1 SDID: 1 (identifying pulse detector 1) Pulse Bandwidth: 11 MHz Center Frequency: 37 MHz Pulse Duration: 1.1 msec Power: −75 dBm Pulse 2 SDID: 1 Pulse Bandwidth: 11 MHz Center Frequency: 37 MHz Pulse Duration: 200 microsec Power: −60 dBm Pulse 3 SDID: 1 Pulse Bandwidth: 12 MHz Center Frequency: 37 MHz Pulse Duration: 1.1 msec Power: −75 dBm Pulse 4 SDID: 1 Pulse Bandwidth: 11 MHz Center Frequency: 37 MHz Pulse Duration: 200 microsec Power: −60 dBm Pulse 5 SDID: 1 Pulse Bandwidth: 13 MHz Center Frequency: 37 MHz Pulse Duration: 18 msec Power: −75 dBm Pulse 6 SDID: 1 Pulse Bandwidth: 11 MHz Center Frequency: 37 MHz Pulse Duration: 200 microsec Power: −60 dBm

[0079] Though not listed above, also included in the information for each pulse is the start time of a pulse, thereby enabling computation of the time between consecutive pulses detected by a pulse detector.

[0080] The pulse event data for pulses 7-14 are very similar, with the exception of the center frequency. For example, pulses 7-14 may have a pulse bandwidth of 1 MHz, a pulse duration of 350 microsec, whereas the center frequency will vary across nearly all of the 2400 MHz to 2483 MHz frequency band. The SDID for pulses 7-14 is 2, since pulse detector 2 is configured to detect these types of pulses, for example.

[0081]FIG. 7 is a diagram pictorially representing multiple signals occurring in a shared, e.g., unlicensed, radio frequency band. A legend is shown for the various signal pulses shown. This diagram highlights the capability afforded by the SAGE to detect and track signals of multiple types that may be simultaneously occurring in a frequency band. The SAGE can do this when the radio supplying data to the SAGE is operated in a narrowband mode or wideband mode.

[0082]FIG. 8 shows a process by which pulse event data produced the pulse detectors 424(l) to 424(N) is output into a pulse event buffer memory 432. The pulse event buffer memory 432 is, for example, a circular buffer, and may reside with the SAGE 400 and buffers data for the various components of the SAGE 400, including the pulse detectors, spectrum analyzer and snapshot buffer. The content of the pulse event buffer 432 is read out into a working memory of a processor or other logic that operates on that data for performing signal classification. A data structure referred to as a pulse history table may be produced from the pulse event data, whereby for each pulse detected by a pulse detector, the associated pulse event data is provided, including the center frequency, duration, bandwidth and power (pulse power is not shown in FIG. 8). The pulse event data may not necessarily be loaded in chronological order of occurrence because a pulse detector will not output the data until the pulse is completed. However, the data can be reordered in the pulse history table.

[0083] A plurality of classification procedures (also called classifiers) 510(l) through 510(N) some of which operate on the data contained in the pulse history table and others which operate on pulse event data and/or spectrum analyzer stats data including maximum power, sum power, FFT power vs. frequency data and snapshot data. Many types of signals can be identified based on information contained in, or derived from, the pulse history table, while others are better classified/identified using additional or other data. One classifier at a time accesses the data in the pulse history table, as explained hereinafter in connection with FIG. 9. After all of the classifiers which operate on data in the pulse history table have been executed, new pulse event data is read from the pulse event buffer into the pulse history table, and the old pulse event data is moved out of the pulse history table and maybe saved in another memory location for subsequent processing or for archival purposes. Similarly, one classifier at a time accesses the spectrum analyzer statistics data output by the spectrum analyzer that is stored in a suitable working memory. Thus, signal pulse data is accumulated for a series of time intervals and the plurality of classification procedures are executed against the accumulated signal pulse data for each time interval one time interval at a time.

[0084] Referring to FIGS. 9 and 10, a procedure 3100 is shown in which multiple classifiers operate on pulse event data in the pulse history table. The pulse history table is updated with new pulse events on a periodic basis, for example, for a new time interval of spectrum activity information covering a predetermined period of time. Those classifiers (indicated by classifiers 1 to M) that operate on the data in the pulse history table are given access to the table on a sequential basis, e.g., one at a time, to execute their analysis against the accumulated signal pulse data in the pulse history table. In step 3110, a first classifier operates on pulse event data in the pulse history table. If the first classifier finds one or more matches in the pulse history table in step 3120, the process jumps to step 3170 described hereinafter. If no match is found, then in step 3130, a determination is made whether there are any pulse events in the pulse history table that have not yet been found to match with (hereinafter said to be “owned” by any classifier). If so, and if the classifier uses a pulse time signature template, then in step 3140, the pulse time signature template is shifted in time (forwards and/or backwards) and compared against the pulse history table to determine whether a match exists against the pulse event data. If a match is found in step 3150, then the process proceeds to step 3170. Otherwise, the next classifier is retrieved in step 3160 and the process of steps 3110-3150 is repeated. When a match is found in steps 3120 or 3140, a match score (how close of a match is it) is computed and a classifier test(s) is/are updated (for that classifier) with the new match data in step 3170. In addition, in step 3180, the pulse or pulses that correspond to the match are designated as being “owned” by the corresponding classifier. For example, if a strong match confidence score (greater than, e.g., 80%) occurs, then that pulse (or those pulses) may be designated as “primarily” owned by the corresponding classifier, whereas if a lower match confidence score occurs, then that pulse (or those pulses) may be designated as being “secondarily” owned by the corresponding classifier. The index i is incremented to perform the same process with the next classifier. This process is repeated each time the pulse history table is updated with new pulse event data.

[0085] Designating “ownership” of pulses by a classifier also facilitates recognizing multiples instances of signals of the same type, for example, multiple Bluetooth™ piconets. The Bluetooth™ classifier will recognize, from the ownership designation information associated with pulse events, timing patterns associated with two or more piconets because the timing of one piconet will be out of phase (because it will be positioned in different Bluetooth time slots) from the other(s).

[0086] As shown in FIG. 10, classification/identification information may be indicated for each pulse event entry in the pulse history table. The correspondence between other pulses can be identified as well. FIG. 10 also shows that some pulse events may have “primary” and “secondary” ownership information indicated for a corresponding classifier. For example, the pulse event at time 15000 μs may yield a match to a sufficient degree with classifier 2 and some other classifier, designated classifier Z. This could be the case, for example, for a type of cordless phone system that may have pulse characteristics similar to a cordless phone system of another type for which there is another classifier.

[0087] The advantage of using multiple classifiers in this manner is that as new devices become available, a new classifier can be added to detect it. Moreover, the pulse characteristic differences between some devices may be subtle enough that a one classifier may match to more than one type of pulse event data. The ability to dedicate a separate classifier to certain devices makes it easier to distinguish between otherwise similar devices. Furthermore, accurately identifying, and distinguishing between, signals occurring in the frequency band may be important for security reasons. Certain types of systems operating in a particular region may indicate a security breach or other unauthorized use of the frequency band in an otherwise secure location. A precise signal identification system as described herein can be used to alert a network manager of potential security breaches.

[0088]FIG. 11 depicts how each classifier will determine a degree of match against the pulse event or other data. The degree of match required for an ultimate “match declaration” may be adjustable and for certain reference signal pulses, a very close match on certain pulse data must be found, as compared to other signal pulse data. To this end, each classifier may have its own match criteria that must be satisfied in order to ultimately declare a match. For example, when comparing accumulated signal pulse data with reference data for a Bluetooth™ SCO signal, there must be very precise matches as to pulse duration, bandwidth and time between consecutive pulses in order to declare a match. A scoring system may be used, where a numeric value is assigned to the comparison results between each signal characteristic. For certain signal types, if the total numeric value (e.g., total score) is at least as great as a certain value, then a match may be declared. An additional constraint may also require that certain signal characteristics must have a minimum degree of match.

[0089]FIG. 12 depicts how for each classifier, there may be two or more test criteria that are made before an actual declaration is made that a signal of a particular type is occurring in the frequency band. This involves tracking the number of matches and misses of signal pulses with respect to signal pulses that are expected to occur according to the timing template. For example, for some classifiers and classification situations, an initial trigger test may be used whereby for a relative low number of expected successive pulse matches (spanning a relatively short period of time), a very high percentage of those expected pulses must be found to match. If, after the defined number of pulses have occurred, the threshold is not achieved, then the initial trigger test fails, and it must be run anew. For example, an initial trigger test may require that 80% of 10 successive pulses (that should match) must match. If the initial trigger test passes, then a second test of medium strictness (called the “stricter test”) is applied, whereby a somewhat lower percentage of a relatively greater number of pulses must match. For example, a stricter test may require that 60% of the next 40 expected pulses must match. In any event, once the stricter test is passed, an alert and/or report is made that a signal of a particular type is occurring in the frequency band. This alert/report will continue to be valid until the longer term least strict test fails, at which time the alert/report may indicate that that signal has terminated. To summarize, the results of the signal pulse data comparisons are made with respect to test requirements that are initially relatively more rigorous to provide initial indications that a corresponding particular signal is occurring and become less rigorous after the initial indications are met. The more rigorous testing requirements may involve a first threshold that requires a greater number of matches of signal pulses with respect to a timing template. Subsequently a second threshold is used after the first threshold has been met or exceeded, in which the second threshold requires a lesser number of matches. Thus, the second threshold is less rigorous than the first. A declaration that the corresponding particular signal is occurring may be made only after the second threshold is achieved or exceeded, or alternatively, after the first threshold is achieved or exceeded. For some classifiers, the stricter test is not applied until and unless the initial trigger test is satisfied, while for other classifiers, there is no initial trigger test.

[0090] With reference to FIGS. 13 and 14, pulse time signatures can provide a distinctive representation of a device or class of devices. They are useful to classify signals that have very rigorous timing attributes. For example, suggestive characteristics of an 802.11 signal is the presence of a signal pulse with a very short duration, no more than 200 microsec and a time between pulses of no more than 20 microsec. However, the additional data (center frequency and bandwidth) is not sufficient to confirm that it is an 802.11 signal. Therefore, pulse timing signature analysis (i.e., pattern) is performed on the pulse data. For example, the pulse timing analysis for an 802.11 signal is focused on identifying two signal pulses on the same center frequency separated from each other by no more than 20 microsec, and where the second signal pulse (an 802.11 ACK pulse) is no more than 200 microsec. The duration of the first pulse for an 802.11 signal is not particularly relevant to this analysis.

[0091] A similar analysis may be performed on the pulse data against pulse signature information for a Bluetooth™ SCO signal in which activity consists of two bursts of energy (pulses) very close in time. Energy associated with a first pulse may occur at one frequency in the band, and energy associated with a second pulse may occur at another frequency in the band, separated from the first pulse by a time interval that recurs on a consistent basis. In fact, the Bluetooth™ SCO signal shown in FIG. 13 is representative of many unlicensed band devices (e.g., frequency hopping cordless phone systems) that employ a frequency hopping sequence with fairly rigorous timing (time between pulses) characteristics. For Bluetooth SCO, the time period between the leading edge or trailing edge of the first pulse and the leading edge of the second pulse is commonly very consistent. Both pulses may be relatively short in duration. In addition, the time period between the leading edge of the second pulse and the leading edge of the next first pulse may be very consistent. A Bluetooth™ ACL transmission is quasi-periodic in the sense that sometimes it looks periodic and has timing signatures similar to Bluetooth™ SCO transmissions, and sometimes it does not.

[0092] Pulse timing signatures of known signals are compared against the accumulated data (typically over relatively short periods of time) to determine if there is a match within certain predetermined and adjustable tolerances. The visual paradigm is as if sliding a pulse timing template of a known signal along the accumulated pulse data of an unknown signal to determine if there is a sufficient match.

[0093] The pulse timing signature analysis for a frequency hopping signal is slightly different if the spectrum information is derived from sampling of only a portion of the frequency band, rather than the entire band that the signal may hop in. For example, while a frequency hopping signal is just as likely to occur anywhere in a frequency band, such as the 2.4 GHz band, if data for only a portion of the band (e.g., 20 MHz) were provided as input to the classification process, then the signal pulse data would show a relatively smaller percentage of pulses from the frequency hopping signal. The pulse timing signature analysis would be adjusted accordingly.

[0094] Classifying a pulse using timing signature templates is particularly useful when more than one device is transmitting in the frequency band. Pulse timing signature information for a signal can be represented by data describing the characteristics of a pulse, such as pulse duration, time between pulses, etc. This information can then compared against similar pulse timing signature information to determine whether there is a match.

[0095]FIG. 14 shows how pulse time signature templates are compared against the pulse event data in the pulse history table. For example, one template, template 1, may involve detecting pulses of a particular duration and bandwidth separated in time by T1 μs. For a microwave oven signal, a template similar to template 1 may be sufficient, where the duration and bandwidth ranges of the template are sufficient to capture a pulse 7000 μs long and 4000 kHz wide, repeating every T1=16000 μs.

[0096] Template 2 may be designed to detect a 1000 kHz wide and 700 μs long pulse that repeats every T2=5000 μs, where, for example, a first pulse is associated with a cordless phone base unit and the next pulse is associated with the cordless phone hand-set (or vice versa). This may be, for example, a frequency hopping system such as a cordless telephone system. This pattern repeats every 4000 μs and if another cordless phone system of the same type occurs, it will follow the same timing, but offset in time from the other system. Thus, Template 2 can be used to identify more than one cordless phone system of the same type occurring in the frequency band.

[0097] Template 3 is representative of a template that is useful to detect a frequency hopping system such as a Bluetooth™ system as described above in connection with FIG. 13. Template 3 is designed to detect 1000 kHz wide and 400 μs long pulses that may occur at different frequencies, but with a common timing pattern. The template will detect a pair of pulses occurring, wherein the second pulse of the pair begins T4 μs after the leading edge of the first pulse, followed by a subsequent pair of pulses, the first of which begins T3 μs after the leading edge of the second pulse of the previous pair of pulses. The timing pattern is indicative of a single Bluetooth master-slave piconet, but is also useful for other frequency hopping systems. Other Bluetooth piconets (or other frequency hopping systems) occurring in the frequency band will have a similar timing pattern and Template 3 can be used to detect multiple instances of frequency hopping system, such as multiple and different Bluetooth piconets, occurring in a frequency band. Template 3 may have rigorous match requirement such that if the second pulse of a pair of pulses does not begin precisely T4 μs after the leading edge of the first pulse, a match is not declared. Furthermore, if the two pairs of pulses are separated such that the time between the leading edge of the second pulse in the previous pair and the leading edge of the first pulse of the subsequent pair by a time period other than T3 μs, a match will not be declared.

[0098] The templates are compared against the pulse event entries in the pulse history table to determine if there is alignment with respect to any two or more pulses in the pulse history table. This may involve shifting the templates forward and/or backwards in time in the table to determine if there is an alignment assuming the duration and bandwidth parameters also match of each pulse also match. In this manner, the pulse time signature templates take into account the time between consecutive pulses. Moreover, by moving the templates forwards and/or backwards through the pulse history table, the occurrence of multiple systems of the same or different types may be detected because the pulse timing patterns of each system (of the same or different type) may be offset, but nevertheless detectable.

[0099] Turning to FIG. 15, another type of classifier is shown. This classifier is a power template, such as an average power or maximum power template, that operates on the average power or maximum power data versus frequency output by the spectrum analyzer stats logic block of the SAGE. The average power template describes average power versus frequency characteristics (in a plurality of FFT frequency bins, for example) for a relevant time interval and across a relevant bandwidth for a particular signal to be identified. Likewise, the maximum power template describes maximum power versus frequency characteristics (in a plurality of FFT frequency bins) for a relevant time interval and across a relevant bandwidth for a particular signal to be identified. For example, as shown in FIG. 15, for a particular signal or signal type, there is a corresponding known average power or maximum power template. Specifically, average or maximum power templates are useful to identify certain signals that are on constantly, or otherwise have large duty cycles. FIG. 15 shows the average power (or maximum power) profile for two signals one that matches a power template, and one that does not. The average power and maximum power data is generated by the SAGE as described above.

[0100]FIGS. 16 and 17 illustrate how these power templates may be used. In FIG. 16, for a particular classifier, several power (either average or maximum) templates are defined to account for different antenna orientations of the source device that may affect the power profile. The measured power data is compared against each of the templates in this classifier, and if a match occurs to any one of them, a classifier match is declared. A match may be declared if, for example, the standard deviation between the measured data and the template is less than a threshold. The classifier may require that there be a match to any one of the templates during each of several chronologically related (e.g., consecutive) time intervals of power versus frequency data.

[0101]FIG. 17 illustrates another use of a power template as a classifier, where the power profile must match each of multiple templates for multiple sampling events. For example, some signals or signal types, the average or maximum power profile will take on more than one shape during each of two or more active intervals due to the nature of the communication protocol or other requirement of that system. Therefore, a classifier may consist of multiple power templates each of which must have a match over two or more active intervals of that signal. For example, during one active time period of a signal, the measured data may look like measured power data 1, and then during another active time period, the measured power data may look like measured power data 2. If measured power data 1 matches one of the templates and measured power data 2 matches the other of the templates (during another active interval), then a classifier match is declared. Thus, in the process of FIG. 17, there must be a match to all of the power templates over multiple chronological related (e.g., consecutive) time intervals for an indication of a match to be declared, and in particular that there may be a match to a different one of the plurality of power templates during each of the multiple time intervals. Moreover, it may be required that there be a match to power templates in a particular time sequence, e.g., to a first particular power template during a first time interval, a second particular power template during a second time interval, etc.

[0102]FIG. 18 shows still another classification procedure where a classifier template consists of raw FFT samples (output by the spectrum analyzer of the SAGE) collected during sampling intervals associated with the beginning portion of a signal pulse, or for the duration of short pulse bursts. A template of the FFT samples for known signals can be used to compare against collected FFT samples of time intervals of FFT data collected by the spectrum analyzer component of the SAGE. Using data from the pulse detectors to signify the beginning of a pulse of a particular type, the snapshot feature of the spectrum analyzer can be used to collect FFT samples associated for a predetermined number of sample intervals that span a sufficient portion of the beginning of the signal pulse to encompass, for example, a signal preamble, are collected by the spectrum analyzer and compared against the classifier template. The shape of the classifier template is compared with the shape of the FFT samples, and a measure of deviation can be generated to determine if there is a match. When this technique is applied to the beginning portion of certain signals, it may be useful to identify a signal and/or to distinguish a signal from other signal types having otherwise similar characteristics.

[0103] Moreover, this technique can be used for substantially the entire duration of very short pulses, or bursts, where classifier templates for such short pulse signals are stored and compared against FFT samples of measured data to identify a short pulse type of signal. An example of such a short pulse or burst type signal is some types of radar, as well as an 802.11 ACK frame.

[0104] A variation of the techniques shown in FIG. 18 can be applied to use of the snapshot buffer portion of the SAGE, where raw baseband modulated (e.g., I and Q) digital samples (for the beginning portion of signals, or the duration of short pulse signals) are captured and modulated data classifier templates of known signals are compared against the captured digital samples.

[0105] The classifiers described above in conjunction with FIGS. 15 through 18 may be compared against time intervals of FFT or power data in a manner similar to that shown in FIG. 9 for comparing classifiers against pulse event data.

[0106]FIG. 19 illustrates a procedure 3200 that is useful to manage classification processing resources in order to maintain fast classification processing. This procedure will select a subset of the plurality of classifiers that most likely require access to the pulse history table, thereby preventing unnecessary processing of the pulse event data by classifiers that will not likely obtain a match. In step 3210, histograms are built based on data in the pulse history table, over successive cycles of pulse event data read into the pulse history table. These histograms will provide more general trend information about the pulses of radio frequency energy occurring in the frequency band. Examples of useful histograms are center frequency, pulse duration, time between consecutive pulses (pulse gap), pulse bandwidth, and pulse power. Other useful histograms may include an active transmissions histogram. FIGS. 20-24, described hereinafter, pictorially show the type of information provided by exemplary histograms.

[0107] In step 3220, the histograms are analyzed to generally determine the type of activity in the frequency band, and thus, the types of signals likely occurring in the frequency band. For example, if the majority of signal pulses have relatively short durations and a center frequency that varies across the frequency, then the signals likely occurring are frequency hopping signal types. On other hand, if the center frequency histogram indicates signals are occurring at one or more frequencies on a consistent basis, and the pulse duration histogram indicates signal pulses of a relatively long duration, then 802.11 or other constant frequency signals may be occurring in the band.

[0108] In step 3330, a subset of the plurality of classifiers are selected that most likely pertain to the signals occurring in the frequency band based on the histogram analysis. In step 3340, other those selected (subset of the total) classifiers are run against the data in the pulse history table to identify signals occurring in the band.

[0109] Turning to FIG. 20, examples of the types of accumulated signal pulse data will be described. These examples of accumulated signal pulse data are histograms of pulse characteristics, but it should be understood that other ways to accumulate different types of signal pulse data may also be suitable. There is a center frequency histogram that tracks the percentage of time a given center frequency is observed for a signal pulse. For example, for a 256 FFT, there are 256 frequency bins that accumulate the amount of time (or number of events) that pulses occur at a particular frequency/frequencies. After a certain amount of time, each accumulated time in a frequency bin is divided by a total amount of time that the pulses were being transmitted, to generate a percentage at each frequency bin or frequency bins. Each frequency bin may be represented by a byte that ranges from 0 to 100 and represents the percent of time at that center frequency.

[0110] Similarly, there is a bandwidth histogram that tracks a given bandwidth observed for signal pulses. For example, if the entire bandwidth of the frequency band is 80 MHz, then there may be 80 1 MHz slots that are used to count the amount of time a pulse is at a particular bandwidth. Again, after a certain amount of time, each bandwidth count is divided by a total amount of time that the pulses were being transmitted in order generate a percentage value. For example, each byte bwPercent[N] represents the percentage of pulses having a bandwidth of N.

[0111] The pulse duration and time between pulses (also called pulse gap) observed for a signal pulse may be tracked with separate histograms that have generally the same form as shown in FIG. 20. There may be three categories of pulse duration and time between pulses: short, medium and long, partitioned by appropriate thresholds. The categories can be broken down as follows: Bin Start Individual Number of First Bin in Last Bin Bin Size Range Bin Size Bins in Range in Range Type (microsec) (microsec) Range (microsec) (microsec) Short   0 to 10 20   0 to 9  190 to 190 199 Medium  200 to 50 26  200 to 249 1450 to 1499 1499 Long 1500 to 500 27 1500 to 1999 All times 14500 greater than 14500

[0112] Each of the bins represents the percentage of occurrences of gaps or durations within the range of that bin. The percentage values range from 0 to 100, with accuracy with ½ percentage point. For example, an unsigned value from 0 to 200 can be used to represent the 0 to 100 percentage value.

[0113] Another data that can be generated and used for signal classification and other purposes is data that tracks the number of different simultaneous transmissions in the frequency band during a period of time. The active transmission histogram is an example of such data. It shows the percentage or time that one to 4 or more different signal transmissions were in progress during a sampling interval, based on the number of different pulses tracked by the 4 pulse detectors. It should be understood that 4 is only an example of the number of different pulses that could be simultaneously tracked. This type of data is very useful in determining when two or more signals of the same or different type are simultaneously active in the frequency band.

[0114] The reference signal pulse data against which the accumulated signal pulse data is compared, is similar in structure to the accumulated signal pulse data. The active transmission data is useful to classify signals that are simultaneously occurring in the frequency band; it is not generally part of the reference data for a particular signal type, but is useful intelligence to process the signal data.

[0115] FIGS. 21-24 are pictorial diagrams that represent accumulated signal pulse data in the form of histograms of individual pulse characteristics of known signals. These diagrams are merely representative of the underlying reference histogram data, and are not meant to represent how the data is stored and processed. In some cases, histograms of these types may be used to identify a signal occurring in the band, and in other cases, the histograms may be used to select which classifiers should be used for processing the pulse event data stored in the pulse history table, as described above in connection with FIG. 19.

[0116]FIG. 21 shows histograms for a frequency hopping signal device, such as a Bluetooth™ synchronous (SCO) packet. The center frequency histogram for this type of signal indicates that the center frequency may be anywhere in the frequency band with equal likelihood. The pulse duration histogram indicates that this signal is consistently approximately 400 microsec long. (This may fall into a short bin of pulse duration as explained above in conjunction with FIG. 20, if the pulse duration is represented that way.) The bandwidth histogram for this signal indicates that it is always approximately 1 MHz wide. Finally, the time between pulses histogram indicates that half the time, the pulse gap is very short, and the other half of the time, the pulse gap is approximately 3000 microsec.

[0117]FIG. 22 shows histogram data for a microwave oven. The center frequency histogram for this type of signal may indicate that it is always at approximately one frequency, such as 40 MHz (in the 80 MHz wide 2.4 GHz unlicensed band). However, microwave ovens are also known to occur across wider portions of the frequency band. The pulse duration histogram indicates that it is always approximately 8 msec long. The bandwidth histogram may indicate that the microwave oven pulse is always approximately 50 MHz wide, but it can be wider. Finally, the time between pulses histogram indicates that it is always approximately 8 msec.

[0118]FIG. 23 shows histogram data for an IEEE 802.11b signal. Because an IEEE 802.11b signal could occur at any of several frequency channels in the frequency band, the center frequency histogram is not by itself very useful (unless prior knowledge is gained from general spectrum activity information that suggests there is 802.11 activity at a particular frequency channel). However, the bandwidth, pulse duration and time between pulses are useful, if not for classifying an 802.11 signal, then at least for a guide to suggest application of other signal classification techniques, such as a pulse time signature template, described above.

[0119]FIG. 24 shows histogram data for one type of a radar signal. This type of signal may have a pulse duration of approximately 2 msec and a time between pulses of 135 msec. For example, most radar devices emit a pulse for a single pulse duration and repeat at the same time duration between pulses. Thus, the pulse duration histogram and the time between pulses histogram are very useful in identifying a signal as radar.

[0120] Another way to iteratively search for different signal characteristics is to iteratively operate the pulse detectors in the SAGE with different parameters, with the goal of eventually detecting signal pulses that match the configured parameters of a pulse detector. The matching signal pulse characteristics are accumulated over time, and then run through the signal classification processes.

[0121] When several signals are being classified simultaneously, it may be useful to loosen the match requirements initially when processing data, and then once signals have been classified with a minimum confidence level, the match requirements can be tightened to ensure, over time, that the initial signal classifications holds over time. For example, data output by the spectrum analyzer (FFT samples, average power, maximum power, duty cycle) can be used to adjust the configuration parameters (e.g., ranges for pulse duration, pulse bandwidth and pulse center frequency) of one or more pulse detectors in order to refocus the pulse detectors in order to converge on the signals occurring in the band.

[0122]FIG. 25 illustrates an environment that is useful to learn the distinctive profile of a device and create a fingerprint definition. A device 4000 that transmits a radio signal to learn is turned on in an environment where a radio device 1000 having the SAGE 400 (or other device capable of providing similar output as the SAGE 400) resides. The radio device 1000 operates the SAGE 400 to generate signal pulse data, spectrum analysis statistics, etc., from the signal that it receives from the device 4000. This SAGE output may be processed by processor 600 executing the classification engine 500. The processor 600 may be part of the communication device 1000 using the SAGE 400, or may be located in another device remote from communication device 1000, such as in a server computer, for example. If located remotely, the SAGE outputs are transmitted wirelessly or by wire to processor 600. The classification engine 500 processes the SAGE outputs generated based on the transmission in the frequency band by the device 4000, accumulates signal pulse data (e.g., builds histograms) similar to the ones described above and uses those histograms as the appropriate set of fingerprint definitions to classify/identify the device 4000 and update the fingerprint database 610. Alternatively, the accumulated data can be used to design specific classifier templates such as pulse timing signature templates, average power or maximum power templates, etc., to classify/identify signals of the device 4000. For example, for signals that have a consistent timing behavior, a pulse timing signature template may be designed, similar to those described above in connection with FIGS. 13 and 14. Alternatively, one or more power templates may be generated (by changing the orientation of the device to simulate fades or a device in actual use) for use in the power template classification process described in connection with FIGS. 15, 16 and 17. Further still, through examination of the FFT samples of part of all of a signal pulse, FFT sample templates may be generated to identify signals as described above in connection with FIG. 18.

[0123]FIG. 26 illustrates an exemplary block diagram of a device, called a spectrum sensor, which may be used to obtain the data used as input by the classification process and/or may perform the classification process itself. The spectrum sensor is a device that receives signals in the frequency band of interest. In this sense, the spectrum sensor is a spectrum monitor of a sort. The spectrum sensor comprises at least one radio receiver capable of downconverting signals in the frequency band of interest, either in a wideband mode or scanning narrowband mode. It is possible, as shown in FIG. 26, that the spectrum sensor comprises one or more radio receivers 210 and 220 (dedicated to different unlicensed bands) or a single dual band radio receiver. There is an ADC 240 that converts the output of the radio receiver to digital signals that is then coupled to the SAGE 400. A DAC 230 may be useful to supply control signals to the radio receiver via a switch 250.

[0124] An interface 630, such as a Cardbus, universal serial bus (USB), mini-PCI, etc., interfaces the output of the SAGE 400 to a host device 5000. There may be an optional embedded processor 605 to perform local processing, an Ethernet block 640 to interface to a wired network, FLASH memory 650 and SDRAM 660. There are also an optional lower MAC (LMAC) logic block 670 associated with a particular communication protocol or standard (“protocol X”) and a modem 680 associated with protocol X. Protocol X may be any communication protocol that operates in the frequency band, such as an IEEE 802.11x protocol. Multiple protocols may be supported by the device. Many of the blocks may be integrated into a gate array ASIC. The larger block around the radio(s) and other components is meant to indicate that the spectrum sensor device may be implemented in a NIC form factor for PCI or mini-PCI deployment. Alternatively, many of these components may be implemented directly on a processor/CPU motherboard. The embedded processor 605 may execute software programs to perform one or more of the processes described hereinafter, including the classification engine.

[0125] The host device 5000 may be a computer (e.g., PC) having a processor 5002 and memory 5004 to process the spectrum activity information supplied by the spectrum sensor via a wired network connection, USB connection, or even a wireless connection (such as an 802.11x wireless network connection). The memory 5004 may store software to enable the host processor 5002 to execute processes based on the output of the SAGE 400 (including the classification engine), as further described hereinafter. A display monitor 5010 may be coupled to the host device 5000. The host device 5000 may be a desktop or notebook personal computer or personal digital assistant, or any other computer device local to or remote from the spectrum sensor. The memory 5004 in the host device may also store driver software for the host device, such as drivers for operating systems such as Windows operating systems (Windows® XP, Windows® CE, etc.). Either the embedded processor 620 or the host processor 5002 may perform the signal classification processes described herein.

[0126] Still another variation is to implement the functions of the SAGE 400 in software on the host processor 5002. The output of an ADC of any one or more device(s) operating in the frequency band (particularly those devices having a wideband capable radio receiver) can be supplied to a host processor where the SAGE and other functions described herein are performed entirely in software, such as the classification engine, etc. For example, the output of the ADC 240 may be coupled across any one of the interfaces shown in FIG. 26 to the host processor 5002.

[0127]FIG. 27 is diagram illustrating how the classification engine 500 may be part of a larger spectrum management system. The SAGE 400 in cooperation with the radio 200 generates spectrum activity information that is used by one or more software programs. SAGE drivers 6000 are used by the one or more software applications to configure and access information from the SAGE 400. Examples of software the software programs that may use information from the SAGE 400 including a measurement engine 6100, the classification engine 500, a location engine 6130 and a spectrum expert 6140. These processes may be executed by an embedded processor or host processor (see FIG. 26). At still a higher level above these software programs may be higher level application services 6200, such as a network expert 6210, security services 6220, location services 6230 and user interfaces 6240. There may also be a network integration application that integrates the spectrum management functions into a network management system that manages several wired and wireless networks. A network spectrum interface (NSI) 6150 serves as an application programming interface between the higher level application services 6200 and the processes on the other side of the NSI 6150. Controls generated by the spectrum expert 6140, network expert 6210 or other applications are coupled to a device through the spectrum aware drivers 6020, which in turn may control the baseband signal processing (e.g., modem) 6010 and/or the radio 200.

[0128] The measurement engine 6100 collects and aggregates output from the SAGE 400 and normalizes the data into meaningful data units for further processing. Specifically, the measurement engine 6100 accumulates statistics for time intervals of output data from the SAGE 400 to track, with respect to each of a plurality of frequency bins that span the frequency band, average power, maximum power and duty cycle. In addition, the measurement engine 6100 accumulates pulse events for signal pulses output by the SAGE 400 that fit the configured criteria. Each pulse event may include data for power level, center frequency, bandwidth, start time, duration and termination time. The measurement engine 5100 may build the histograms of signal pulse data that is useful for signal classification, referred to above. Finally, the measurement engine 6100 accumulates raw received signal data (from the snapshot buffer of the SAGE 400) useful for location measurement in response to commands from higher levels in the architecture. The measurement engine 6100 may maintain short-term storage of spectrum activity information. Furthermore, the measurement engine 6100 may aggregate statistics related to performance of a wireless network operating in the radio frequency band, such as an IEEE 802.11 WLAN. In response to requests from other software programs or systems (via the network spectrum interface described hereinafter), the measurement engine 6100 responds with one or more of several types of data generated by processing the data output by the SAGE 400.

[0129] The classification engine 500 may compare data supplied to it by the measurement engine 6100 against a database of information of known signals or signal type, as described at length above. The signal classification database may be updated for new devices that use the frequency band. The output of the classification engine 5120 includes classifiers of signals detected in the frequency band. As described above, a classification output may specify the signal type, for example, “cordless phone”, “frequency hopper device”, “frequency hopper cordless phone”, “microwave oven”, “802.11x WLAN device”, etc., or be so specific as to identify the particular device, such as “GN Netcom cordless phone,” “Panasonic Cordless Phone,” “Bluetooth™ headset,” etc. In addition, the classification engine may output information describing one or more of the center frequency, bandwidth, power, pulse duration, etc. of the classified signal, which is easily obtained directly from the signal detector output of the SAGE. This may particularly useful for a classified signal that is determined to interfere with operation of other devices in the frequency band.

[0130] The location engine 6130 computes the physical location of devices operating in the frequency band. One example of a location measurement technique involves using snapshot buffer data collected by the measurement engine 5100 to perform time difference of arrival measurements at known locations of a signal transmitted by the device to be located and another reference signal to determine a location of a variety of devices (such as interferers) operating in the region of the frequency band. Sometimes simply moving an interferer to a different location can resolve transmission problems that another device or network of devices may be experiencing. The location engine 6130 may coordinate measurements obtained from multiple locations in the network. An example of a location engine is disclosed in commonly assigned co-pending U.S. application Ser. No. 60/319,737, filed Nov. 27, 2002, entitled “System and Method for Locating Wireless Devices in an Unsynchronized Wireless Network,” the entirety of which is incorporated herein by reference.

[0131] Many other techniques to determine the location of wireless radio communication devices are known in the art and may be used as well. When an interference condition in the frequency band is detected, the spectrum expert 6140 may command the location engine 6130 to locate the source of the interferer. The output of the location engine 6130 may include position information, power level, device type and/or device (MAC) address. In addition, the security application 6220 may command the location engine 6130 to locate a rogue device that may present a possible security problem.

[0132] The spectrum expert 6140 is a process that optimizes operation of devices operating in the frequency band, given knowledge about the activity in the frequency band obtained by the measurement and classification engines. For example, the spectrum expert 6140 processes data from the SAGE 400 and optionally statistics from a particular wireless network operating in the frequency band, such as an IEEE 802.11x network, in order to make recommendations to adjust parameters of a device, or to automatically perform those adjustments in a device. The spectrum expert 6140 may be a software program that is executed, for example, by a network management station. Parameters that can be adjusted (manually or automatically) based on output of the spectrum expert 6140 include frequency channel, transmit power, fragmentation threshold, RTS/CTS, transmit data rate, CCA threshold, interference avoidance, etc. Example of interference mitigation techniques are described in commonly assigned and co-pending U.S. application Ser. No. 10/248,434, filed Jan. 20, 2003, and entitled “Systems and Methods for Interference Mitigation with Respect to Periodic Interferers in Short-Range Wireless Applications,” the entirety of which is incorporated herein by reference. The spectrum expert 6140 may operate on triggers for alert conditions in the frequency band, such as detection of a signal that interferes with the operation of a device or network of devices operating in the frequency band, to automatically report an alert, and/or adjust a parameter in a device in response thereto. For example, the spectrum expert 6140 may operate to control or suggest controls for a single WLAN AP.

[0133] The NSI 6150 may be transport independent (e.g., supports Sockets, SNMP, RMON, etc.) and parses spectrum information into sub-sections for session and radio control, measurement, events (classification), location and protocol specific enhanced statistics and controls. End user on-demand commands to check the spectrum knowledge or activity information at a particular device may be received from an application residing above the NSI 6150 and translated into a request for a particular process below the NSI 6150 to supply the requested information.

[0134] The higher level application services 6200 may include software and systems that perform broader analysis of activity in a frequency band, such as the network expert 6210 that, for example, manages multiple WLANs, a WLAN associated with one or more wireless LANs, etc. These applications may call upon the services of any one or more of the software processes shown on the other side of the NSI 6150. For example, there may also be security services 6220, location services 6230, user interfaces 6240, and systems integrations 6250 to integrate the lower level processes with other applications, such as a network management application 6260. The network management application 6260 may be executed by a network management station (e.g., server 2055) that is located in a central monitoring or control center (telephone service provider, cable Internet service provider, etc.) coupled to the sensor devices, APs, etc., as well as the devices which it controls (e.g., APs) via a wide area network (WAN) connection, e.g., the Internet, a dedicated high speed wired connection, or other longer distance wired or wireless connection.

[0135] Spectrum Activity Information And Accessing it Using the NSI

[0136] The measurement engine 6100, classification engine 500, location engine 6130 and spectrum expert 6140 generate information that may be used by software programs or systems that access it through the NSI. The software or systems above the NSI may access the data generated by the software residing below the NSI using session control messages. The NSI 6150 may be embodied by instructions stored on a computer/processor readable medium and executed by the processor (server 1055 or network management station 1090) that executes the one or more application program or systems. For example, this processor would execute instructions for an NSI “client” function that generates the request and configurations for spectrum analysis functions and receives the resulting data for the application program. The processor(s) that execute(s) the measurement engine, classification engine, location engine and/or spectrum expert will execute instructions stored on an associated computer/processor readable medium (shown in FIGS. 1 and 26) to execute an NSI “server” function that responds to requests from the NSI client to generate configuration parameters and initiate spectrum analysis functions by the measurement engine, classification engine, location engine and/or spectrum expert to perform the requested spectrum analysis function and return the resulting data. The measurement engine may in turn generate controls for the SAGE drivers 6000 to configure the SAGE 400 and/or radio 200.

[0137] It should be further understood that the classification engine, location engine and spectrum expert can be viewed as a client to the measurement engine and would generate requests to, and receive data from, the measurement engine similar to the manner in which an application program would interact with the measurement engine. Further still, the spectrum expert can be viewed as a client to the classification engine and location engine and request analysis services of those engines.

[0138] The NSI 6150 may be transport independent (e.g., supports Sockets, SNMP, RMON, etc.) and may be designed for implementation in a wired or wireless format, such as by TCP/IP traffic from an 802.11 AP to a PC which is running software designed to accept the traffic for further analysis and processing. The TCP/IP traffic (or traffic using some other network protocol) could also be carried by a PCI bus inside a laptop PC, provided the PC has built-in 802.11 technology, or an 802.11 NIC. If the source of the spectrum information data stream is a TCP/IP connection, the application program would implement a socket, and access the correct port, to read the data stream. A sample of typical code for this purpose is shown below. (The sample is in Java, and shows client-side code.) Once the port connection to the data stream is established, the use of the data stream is determined by the network management software itself. ! Open Socket and Port (Remember to first assign the correct value ! for the 802.11 device PortNumber) Socket MyClient; try {     MyClient = new Socket(“Machine name”, PortNumber); } catch (IOException e) {   System.out.println(e); } ! Create input stream to get data from NSI DataInputStream input; try {   input = new DataInputStream(MyClient.getInputStream( )); } catch (IOException e) {   System.out.println(e); } ! Create DataOutputStream to send control commands and ! configuration data to NSI DataOutputStream output; try {   output = new DataOutputStream(MyClient.getOutputStream( )); } catch (IOException e) {   System.out.println(e); }

[0139] The class DataInputStream has methods such as read. The class DataOutputStream allows one to write Java primitive data types; one of its methods is writeBytes. These methods can be used to read data from, and write data to, the NSI 6150.

[0140] If the transport of the data stream occurs over other low-level media, other methods are used to access the data stream. For example, if the data is carried over a PC's PCI bus, a PCI device driver will typically provide access to the data.

[0141] The information provided by the NSI to an application program corresponds to data generated by the measurement engine 6100 (through the SAGE), classification engine 500, location engine 6130, and/or the spectrum expert 6140.

[0142] In acting as the API, the NSI has a first group of messages that identify (and initiate) the spectrum analysis function (also called a service or test) to be performed and provide configuration information for the function. These are called session control messages and are sent by the application program to the NSI. There is a second group of messages, called informational messages, that are sent by the NSI (after the requested spectrum analysis functions are performed) to the application program containing the test data of interest.

[0143] Most of the spectrum analysis functions (i.e., tests) have various configuration parameters, which are sent via session control messages, and which determine specific details of the test. For example, in monitoring the spectrum, session control messages tell the NSI how wide the bandwidth should be (narrowband or wideband), and the center frequency of the bandwidth being monitored. In many cases, detailed test configuration parameters for a spectrum analysis function can be omitted from the session control messages. In those cases, the NSI uses default settings.

[0144] Examples of spectrum analysis functions that the measurement engine 6100 (in conjunction with the services of the SAGE 400) may perform, and the resulting data that is returned, include:

[0145] Spectrum Analyzer Power vs. Frequency Data. This data describes the total power in the spectrum as a function of frequency, over a given bandwidth.

[0146] Spectrum Analyzer Statistics Data. This data provides a statistical analysis of the data in RF power vs. frequency measurements.

[0147] Pulse Event Data—This data describes characteristics on individual RF pulses detected by the SAGE 400. The characteristics for (and thus the types of pulses) detected by the SAGE 400 can be configured.

[0148] Pulse Histogram Data. This data describes the distribution of pulses per unit of time, in terms of the percentage of pulses distributed among different frequencies, energy levels, and bandwidths.

[0149] Snapshot Data. This data contain portions of raw digital data of the RF spectrum captured by the snapshot buffer of the SAGE 400. The data can help identify the location of devices, and can also be used to extract identifier information which can determine the brand of certain devices operating in the frequency band, for example. Snapshot data may also be useful for signal classification.

[0150] The classification engine 500 may perform spectrum analysis functions to determine and classify the types of signals occurring in the frequency band, and together with optional recommendation or descriptive information that may be provided by the classification engine 500 or the spectrum expert 6140, the resulting data that is returned are called spectrum event data, which describe specific events, such as detecting a particular signal type as going active or inactive in the frequency band. The spectrum expert 6140, as well as the network expert 6210 and other applications or processes may use the output of the classification engine 500.

[0151] There are numerous ways to format the NSI messages to provide the desired API functionality in connection with the spectrum analysis functions. The following are examples of message formats that are provided for the sake of completeness, but it should be understood that other API message formats may be used to provide the same type of interface between an application program and spectrum analysis functions pertaining to activity in a frequency band where signals of multiple types may be simultaneously occurring.

[0152] A common message header may be used by both session control messages and information messages. The common header, called the sm1StdHdr_t header, comes at the very beginning of all messages and provides certain general identifying information for the message. An example of the general format of the common header is explained in the table below. Sub-Field Description and Notes msgLen ‘msgLen’ is the length of the message in bytes. msgType ‘msgType’ is an integer which indicates whether this is a Start sessType Test message, a data message, etc. ‘sessType’ is an integer which indicates the type of test, such as a pulse test, or an spectrum analyzer test. configToken This value is set by the user (the requesting application program also called the Network Management Software) when a test is set up. The purpose is to help the requesting application program distinguish incoming data based on different test configurations. timestampSecs Use of the time stamp is message dependent. Src ‘src’ and ‘dest’ fields are intended to facilitate Dest multiplexing of session routing across common transport connections, where needed.

[0153] Informational messages are started with two headers: the common header (sm1StdHdr_t), followed by the Info Header (sm1InfoHdr_t). The sm1InfoHdr_t header provides specific identifying parameters for information messages: Sub-Field Name Description and Notes transactionSeq Sequence for this message. This starts at 1, and is incremented for each succeeding message. The increment reflects the number of data samples (transactionCnt) in the previous messages. For some types of messages the number of data points, and hence the transactionCnt, is fixed at ‘1’; for these message types successive messages always have their transactionSeq incremented by ‘1’. transactionCnt ‘transactionCnt’ generally indicates the number of entries in a message, where entries are discrete units of data. Its use is message dependent. For example, for Power vs. Frequency spectrum messages, this value indicates the number of sequential “snapshots” of the RF spectrum in the message. (Each snapshot is encapsulated in a specific sequence of bytes. If the transactionCnt has a value of 10, then the message contains 10 successive snapshots of the RF spectrum; there are ten matching byte patterns which follow, each of which reports on one snapshot of the RF spectrum.)

[0154] A summary of all the messages that may be sent via the NSI is contained in the table below. The numeric values in the table below correspond to the values that are used in the msgType sub-field of the sm1StdHrd_t field. msgType msgType Name Value Direction Meaning SESS_START_REQ 40 User → Start a service, or NSI copying a service. SESS_STARTED_RSP 41 NSI → Test started. User SESS_PENDING_RSP 42 NSI → Session will start User when the service is freed up from another user. SESS_REJECT_RSP 43 NSI → Session could not be User started. SESS_STOP_REQ 44 User → Request to stop the NSI service. SESS_STOPPED_RSP 45 NSI → Service stopped, User either in response to user request or due to problems. SM_MSG_L1_INFO 46 NSI → Informational User message containing test data. SESS_QUERY_REQ 47 User → Requests the current NSI test configuration. SESS_QUERY_RSP 48 NSI → Current test User configuration. SESS_POLL_REQ 49 User → Requests a poll, or NSI flushing, of pulse histogram test data. SESS_POLL_RSP 50 NSI → Pulse histogram test User data. SESS_RECONFIG_REQ 51 User → Reconfigure a test NSI session. SESS_RECONFIG_RSP 52 NSI → Response to User reconfiguration request. SESS_VENDOR_REQ 52 User → Vendor-defined NSI request. SESS_VENDOR_RSP 53 NSI → Vendor-defined User response.

[0155] Examples of informational messages, which as suggested above, are NSI formatted versions of the output of the measurement engine 6100 and classification engine 500, and optionally the spectrum expert 6140, are described.

[0156] Spectrum Analyzer Power vs. Frequency Data

[0157] The SAGE 400 will analyze a frequency band centered at a frequency which may be controlled. Moreover, the bandwidth of the frequency band analyzed may be controlled. For example, a portion, such as 20 MHz (narrowband mode), of an entire frequency band may be analyzed, or substantially an entire frequency band may be analyzed, such as 100 MHz (wideband mode). The selected frequency band, is divided into a plurality of frequency “bins” (e.g., 256 bins), or adjacent frequency sub-bands. For each bin, and for each sample time interval, a report is made from the output of the SAGE 400 on the power detected within that bin as measured in dBm. The measurement engine 6100 supplies the configuration parameters to the SAGE drivers 6000 and accumulates the output of the SAGE 400 (FIG. 1).

[0158]FIG. 29 (described in more detail hereinafter) illustrates a graph that may be created from power measurements taken at a given time interval. In the illustration, the vertical bars do not represent the distinct frequency bins. Of the two jagged lines shown in FIG. 29, the lower line represents a direct graph of the data in a single snapshot of the spectrum at a given instant in time. It corresponds to the data in one, single sapfListEntries field, described below. However, a spectrum analysis message may contain multiple sapfListEntries fields; each such field corresponding to a single snapshot of the spectrum. The upper jagged line was constructed by a software application. It represents the peak values seen in the RF spectrum over the entire testing period to the present instant.

[0159] An example of the structure of the spectrum analyzer power vs. frequency data is as follows. Primary Field Names Description and Notes sm1StdHdr_t Standard header. sm1InfoHdr_t The second standard header. sm1SapfMsgHdr_t Describes the frequency band being analyzed, providing both the center frequency and the width of the each of the 256 bins. sapfListEntries This fields contains the primary data of interest, that is, the RF signal power in dBm for each of the 256 frequency bins. There may be only a single instance of this field in the message, or there may be multiple instances. If there is more than one such field, each field corresponds to a single snapshot in a time- series of snapshots of the RF spectrum. The number of instances is given by the sm1InfoHdr_t.transactionCnt sub-field.

[0160] In the second standard header, the msgType is 46 to identify the message as an informational message, and the sessType is 10 (SM_L1_SESS_SAPF) to identify that data results from a session that is a spectrum analyzer power vs. frequency test.

[0161] The field below is the standard information header for spectrum analyzer power vs. frequency data. Sub-Field Name Description and Notes transactionSeq Sequence for this message. This starts at 1 for the first message. For each subsequent message, it is incremented by the value of transactionCnt in the previous message. transactionCnt Number of sapfList entries in message (sapfList). In other words, this is the number of sequential “snapshots” of the RF spectrum in the message.

[0162] This field sm1SapfMsgHdr_t below describes the frequency spectrum that is being monitored. While this message provides the center frequency and the width of the bins, it may not provide the total bandwidth being measured. This can be calculated (low end=frqCenterkHz−128 * binSize, high end=frqCenterkHz+128 * binSize. The radio receiver being used to monitor the bandwidth need not actually span the full bandwidth. As a result, some of the frequency bins at either end of the spectrum will typically show zero (0) RF power. Sub-Field Name Description and Notes frqCenterkHz Center Frequency of the power vs. frequency lists in kHz. binSizekHz Size of bins in kHz

[0163] For a single snapshot of the RF spectrum at a moment in time, the sapfListEntries field explained below contains the information of primary interest, namely, the power level in dBm for each of the frequency bins. Sub-Field Name Description and Notes timestampSecs Timestamp seconds, and fractional portion of timestampmicrosecs timestamp in μseconds. The time is counted from the beginning of the test, not from some absolute time (i.e., not like in the UNIX operating system). powerValuesdBm Bins (−128 to 127) dBm power values. The value reflects the energy that the radio receiver “sees” in the portion of the frequency spectrum corresponding to this bin.

[0164] The frequency range corresponding to bin “N”, where N goes from 0 to 255, is given by:

LowFrequency[N]=sm1SapfMsgHdr_t.frqCenterkHz +(N−128) * sm1SapfMsgHdr_t.binSizekHz

HighFrequency[N]=sm1SapfMsgHdr_t.frqCenterkHz +(N−127) * sm1SapfMsgHdr_t.binSizekHz

[0165] Spectrum Analyzer Statistics Data

[0166] The spectrum analyzer statistics data/messages provide a statistical analysis of the data in the frequency spectrum.

[0167] A single message is built from a specified number of FFT cycles, where a single FFT cycle represents an, e.g., 256 frequency bin output of the FFT. For example, 40,000 successive FFTs of the RF spectrum, taken over a total time of {fraction (1/10)} of a second, are used to construct the statistics for a single message.

[0168]FIG. 29 shows the kind of information that can be conveyed in the spectrum analyzer statistics data. The bottom line shows the average power over the sampling period (i.e., over the 40,000 FFTs, or {fraction (1/10)} second). The top line represents the “absolute maximum power” over all spectrum analyzer statistics messages received so far.

[0169] An example of the overall structure of the spectrum analyzer statistics data is: Field Name Description and Notes sm1StdHdr_t msgType = 46 (SM_MSG_L1_INFO) sessType = 11 (SM_L1_SESS_SASTATS) sm1InfoHdr_t No special fields sm1SaStatsMsgHdr_t This field contains general parameters about the statistical sampling process. See format below. statsBins 256 Spectrum Analysis Stats Bins. See discussion. activeBins 10 bins for active peaks. See discussion. quality A number from 0 to 100 indicating the quality of the entire band. 0 is the worst, 100 is the best. Values 0-33 indicate “POOR”, 34-66 indicates “GOOD” and 67-100 indicates EXCELLENT.

[0170] This message header sm1SaStatsMsgHdr_t field contains parameters which describe the sampling process, examples of which are below. Sub-Field Name Description and Notes bwkHz The bandwidth (narrow/wide) for the statistical analysis of the RF spectrum in kHz. Narrowband is approximately 20 MHz, and wideband is approximately 100 MHz. cycleCnt The number of FFT cycles accumulated into the statistics. This is user configurable, but is typically in the range of 20,000 to 40,000. startTimeSecs Start timestamp in seconds, and start timestamp, fractional startTimeUsecs portion, in μseconds, for the current message, indicating when measurements for the current set of statistics began. Measured from when the test started running. endTimeSecs End timestamp in seconds, and end timestamp, fractional endTimeUsecs portion, in μseconds, for the current message, indicating when measurements for the current set of statistics finished. Measured from when the test started running. centerFreqkHz Center Frequency in kHz. User configurable. pwrThreshDbm dBm of the current power threshold used for duty cycle and active bins information. This represents the minimum power the RF spectrum must have to be counted in the duty cycle and active bin statistics (these statistics are discussed further below). noiseFloorDbm dBm value of the current noise floor.

[0171] There are, for example, 256 consecutive statsBins, each with four sub-fields as shown in the table below. Each statsBin, with its four subfields, contains the statistical data for a particular bandwidth. To calculate the width of each frequency bin, the following formula may be used:

[0172] binWidth=sm1SaStatsMsgHdr_t. bwkHz/256

[0173] The lower and upper bandwidth for each bin is giving by the following formulas:

[0174] LowBandwidth[N]=sm1SaStatsMsgHdr_t. centerFreqkHz+((N−128) * binWidth)

[0175] HighBandwidth[N]=sm1SaStatsMsgHdr_t. centerFreqkHz+((N−127) * binWidth) Sub-Field Name Description and Notes avgDbm[0] Average dBm power level (−128 to 127 dBm) for this frequency bin. maxDbm[0] Maximum dBm power level (−128 to 127 dBm) for this frequency bin. dutyPercent[0] The percentage of time, multiplied by 2, that the power level for this bin remained above a (user-defined) threshold. avgDbm[1] Average dBm power level (−128 to 127 dBm) for this frequency bin. maxDbm[1] Max dBm power level (−128 to 127 dBm) for this frequency bin. dutyPercent[1] The percentage of time, multiplied by 2, that the power level for this bin remained above a (user-defined) threshold. avgDbm[N] Average dBm power level (−128 to 127 dBm) maxDbm[N] Max dBm power level (−128 to 127 dBm) dutyPercent[N] Percentage X 2 that power remained above threshold. avgDbm[255] Average dBm power level (−128 to 127 dBm) maxDbm[255] Max dBm power level (−128 to 127 dBm) dutyPercent[255] Percentage X 2 that power remained above threshold.

[0176] There are ten consecutive activeBins which record “peak” activity. The bins may be viewed as being indexed consecutively, from 0 to 9. For each bin, the value in the bin should be interpreted as follows. In the Nth bin, if the value in the bin is X, then for (X/2)% of the time, there were N peaks in the RF spectrum during the sampling period, except for the special case below for the 10th bin, called bin 9. Sub-Field Name Description and Notes activeBins[0] If the value in this bin is X, then (X/2) % of the time, there were no peaks (0 peaks) in the RF spectrum. activeBins[1] If the value in this bin is X, then (X/2) % of the time, there was 1 peak in the RF spectrum. activeBins[2] If the value in this bin is X, then (X/2) % of the time, there were 2 peaks in the RF spectrum. activeBins[8] If the value in this bin is X, then (X/2) % of the time, there were 8 peaks in the RF spectrum. activeBins[9] If the value in this bin is X, then (X/2) % of the time, there were 9 or more peaks in the RF spectrum.

[0177] As described above in conjunction with the SAGE 400, peaks are spikes, or very brief energy bursts in the RF spectrum. If a burst persists for a certain period of time (e.g., approximately 2.5 μsec), the SAGE 400 will detect the peak, and the peak will be included in the statistics described in this subsection. Such brief peaks are generally not included in pulse data or pulse statistics. Also as described above, if a series of consecutive peaks are seen over a continuous time period, all at the same frequency, this series—once it reaches some minimum time threshold—it will be counted as a pulse.

[0178] The exact minimum duration of a pulse, for testing purposes, is configurable by the application program, but a typical time may be 100 μsec. Since the SAGE 400 can detect RF events as brief as 2.5 μsec, a typical pulse would need to persist through at least 40 FFTs before being acknowledged as being a pulse.

[0179] Pulse Event Data

[0180] A signal pulse is a sustained emission of RF energy in a specific bandwidth starting at a specific time. The SAGE 400 detects pulses in the radio frequency band that satisfy certain configurable characteristics (e.g., ranges) for bandwidth, center frequency, duration and time between pulses (also referred to as “pulse gap”). When the SAGE 400 detects a pulse that has these characteristics, it outputs pulse event data for the pulse including:

[0181] Start Time—Measured from when the SAGE first begins detecting pulses.

[0182] Duration—The lifetime of the pulse.

[0183] Center Frequency—The center frequency of the pulse.

[0184] Bandwidth—How wide the pulse is.

[0185] Power—Average power in dBm.

[0186] The overall structure of a pulse event (PEVT) data/message is shown in the table below. Field Name Description and Notes sm1StdHdr_t msgType = 46 (SM_MSG_L1_INFO) sessType = 12 (SM_L1_SESS_PEVT) sm1InfoHdr_t transactionCnt = number of PEVTs in message; each PEVT contains data on one pulse. classPevts sm1Pevts: an array of ‘transactionCnt’ PEVTs of the form ‘sm1Pevt_t’ shown below. Each field contains data on one pulse

[0187] This information header field is the standard information header for pulse event messages. Sub-Field Name Description and Notes transactionSeq Sequence for this message. This begins with 1 for the first message. For each successive message, it is incremented by the transactionCnt in the previous message. (In other words, it is incremented by the number of pulses reported on in the previous message.) transactionCnt Number of PEVTs in this message (Pevts). Each PEVT field corresponds to one pulse.

[0188] There may be one or many pulse events in the message. Each instance of the classPevts field below, describes the properties of one pulse. Sub-Field Name Description and Notes sdId This indicates which of 4 internal pulse detectors are being used by SAGE to detect this pulse. termCodeFlags This byte contains a series of flags which indicate how the pulse was terminated. dBm Pulse power in dBm. frqCenterkHz Center Frequency of the pulse in kHz. The value shown will typically range from 0 to 100,000 kHz. To obtain the actual center frequency, add this value to the low end of the frequency spectrum being tested. Example: If the frequency spectrum being tested ranges from 2,350,000 kHz to 2,450,000 kHz, and the frqCenterkHz value is 40,000 kHz, then the actual center frequency of the pulse is approximately 2,390,000 kHz. Note: Actual resolution is ±200 to 500 kHz. bandwidthkHz Bandwidth of the pulse in kHz. Note: Actual resolution is ±200 to 500 kHz. durationUs Pulse Duration in μseconds timeOnSecs Pulse Time On, seconds portion; and Pulse Time On, timeOnUsecs fractional portion in μseconds. The time the pulse began is measured from when the test started running, not from someone absolute, fixed date.

[0189] Pulse Histogram Data

[0190] While it is possible to access information about individual pulses, it may also be useful to work with the statistical information about pulses detected and occurring in the frequency band over time. That information is provided by pulse histogram data. The pulse histograms track distributions of: duration of the pulses (the percentage of pulses with short, medium, and long durations); gaps in time between the pulses (the percentage of pulses with short time gaps between them, medium time gaps, and long time gaps); bandwidth of pulses; frequency of pulses; and power of pulses.

[0191]FIG. 31 illustrates graphical displays for exemplary pulse histograms.

[0192] The overall structure of the pulse histogram data is shown in the following table. Field Name Description and Notes sm1StdHdr_t msgType = 46 (SM_MSG_L1_INFO) sessType = 13 (SM_L1_SESS_CLASS) sm1InfoHdr_t no special fields sm1PhistMsgHdr_t Provides detailed information about the sampling process. pulseDurationHistogram Pulse Duration Histogram pulseGapHistogram Pulse Gap Histogram pulseBandwidthHistogram Pulse Bandwidth Histogram centerFreqHistogram Center Frequency Histogram powerHistogram Power Histogram

[0193] This PhistMsgHdr field describes the frequency spectrum which is being monitored, and some other parameters of the overall sampling process. Sub-Field Name Description and Notes classMsgType SM1_CLASS_PHIST_MSG == 1, (Pulse Histogram Msg) numSampleIntervals Number of sample intervals. If a dedicated radio receiver is continually listening for pulses, this value will be 1 (indicating a single sampling interval). If the radio device is doubling as a transmitter, then it cannot listen all the time; this parameter will indicate the number of times the radio device was actually able to listen for pulses. avgSampleDurationMs Average sample time size in msec. If a dedicated radio device is continually listening for pulses, this value will be the same as the amount of time the SAGE 400 has been instructed to listen for pulses before sending statistical data. If the listening device cannot listen all the time, then multiply: TALT = avgSampleDurationMs* numSampleIntervals to obtain the total actual listening time (TALT). To obtain the fraction of listening time, divide the TALT by the amount of time the CLP has been instructed to listen for pulses before sending statistical data. [The total listening time can also be calculated from the fields below: endTimeSecs + endTimeUsecs − (startTimeSecs + startTimeUsecs)] histBwkHz Histogram bandwidth in kHz histCenterFreqkHz Histogram Radio Center frequency in kHz startTimeSecs Start timestamp seconds, and start timestamp, startTimeUsecs fractional portion in microseconds. This is measured from when the pulse histogram operation was initiated, not from some absolute starting time (i.e., not like in the UNIX operating system). endTimeSecs End timestamp seconds, and end timestamp, endTimeUsecs fractional portion in microseconds. Again, this is measured from when the pulse histogram operation was initiated. numPulseEvents Number of pulse events recorded for this histogram.

[0194] The pulse duration histogram fields contain a series of bytes. Each of the data bytes, or bins—in sequence—indicates the percentage (multiplied by two) of pulses that fall into a given range of durations. The table below categorizes data into smallBins, mediumBins, and largeBins and are only examples of how to track pulse duration.

[0195] The first bin (bin 0) contains the percentage (×2) of pulses that were between 0 μsec and 9 μsec. The second bin (bin 1) contains the percentage, multiplied by 2, of pulses that were between 10 μsec and 19 μsec in duration. Each of these “bins” is 10 μsec wide. This continues up to the 20th bin (bin 19), whose value is the percentage, multiplied times 2, of pulses that were between 190 and 199 μsec in length.

[0196] The next twenty-six bins are similar, except they are wider; specifically, they are 50 μsec wide. Bin 20 has a value which indicates the percentage (×2) of pulses that were between 200 μsec and 249 μsec in length. Again, there are twenty-six bins which are 50 μsec wide. Bin number 45 has a value which indicates the percentage (times 2) of pulses that were between 1450 μsec and 1499 μsec in length.

[0197] The final set of 27 bins each indicate the percentage (×2) of pulses that are wider still, specifically 500 μsec wide. Bin number 46 includes pulses whose duration was between 1500 μsec and 1999 μsec in length. Bin 72 includes pulses whose duration was between 14499 and 14999 μsec.

[0198] Pulse Duration Histogram Bins Sub-Field Name Description and Notes smallBins Each bin contains the percentage (x2) of pulses that fell within a 10 μsec range. The range starts with 0 μsec to 9 μsec, and increases by 10 μsec for each consecutive byte. The final bin (bin number 19) covers pulses with widths between 190 to 199 μsec. mediumBins Each bin contains the percentage (x2) of pulses that fell within a 50 μsec range. The range starts with 200 μsec to 249 μsec, and increases by 50 μsec for each consecutive bin. The final bin - which is the 26th bin of the mediumBins, the 46th bin overall, and is numbered as bin 45 - covers pulses with widths between 1450 to 1499 μsec. largeBins Each bin contains the percentage (x2) of pulses that fell within a 500 μsec range. The range starts with 1500 μsec to 1999 μsec, and increases by 5000 μsec for each consecutive bin. The 73rd bin (which is numbered as bin 72) covers pulses with widths between 14499 to 14999 μsec.

[0199] The pulse gap histogram indicates the percentage (multiplied by two) of gaps between pulses, where the duration of the gap falls within a given time range. The bins do not reflect when the gaps occurred; they reflect how long the gaps were. Gaps are measured between the start of one pulse and the start of the next. This is because the start of a pulse tends to be sharply delineated, while a pulse may trail off more gradually. For example, assume there were a total of twenty gaps between pulses. Of these twenty, only two gaps had a duration between 10 μsec and 19 μsec. The first gap, which lasted 12 μsec, occurred at time 15.324 seconds. The second gap, which lasted 15 μsec, occurred at time 200.758 seconds. Both gaps are recorded in the second bin (numbered as bin 1). Since the two gaps reflect 10% of all recorded gaps, the value in the second bin (bin 1) will be 2×10%=20 (since all percentages are multiplied by two).

[0200] Pulse Gap Histogram Bins Sub-Field Name Description and Notes smallBins Each consecutive bin contains the percentage (x2) of gaps between pulses, where the length of the gap fell within a 10 μsec range. The range starts with gaps that are 0 μsec to 9 μsec long, and increases by 10 μsec for each consecutive byte. The 20th and final bin (bin number 19) covers gaps whose duration was between 190 to 199 μsec. mediumBins Each bin contains the percentage (x2) of gaps whose duration fell within a 50 μsec range. The range starts with 200 μsec to 249 μsec (so all gaps whose duration is within this range are included in this first bin, number 20), and increases by 50 μsec for each consecutive bin. The final bin - which is the 26th bin of the mediumBins, the 46th bin overall, and is numbered as bin 45 - covers gaps whose duration was between 1450 to 1499 μsec. largeBins Each bin contains the percentage (x2) of gaps whose duration fell within a 500 μsec range. Gaps whose duration was between 2500 μsec to 2999 μsec are reflected in the first bin; each consecutive bin increases the duration by 5000 μsec. The final bin - which is the 27th bin of the largeBins, the 73rd bin overall, numbered as bin 72 - covers gaps with widths between 14499 to 14999 μsec.

[0201] For the pulse bandwidth histogram, each data bin reflects a progressively wider bandwidth. For example, if the first bin represents pulses from 0 to 9.999 kHz in width, then the second bin represents pulses from 10 kHz to 19.999 kHz, the third bin pulses from 20 kHz to 29.999 kHz in width, etc. The value stored in the bin is the percentage (×2) of the pulses that had a bandwidth somewhere within the indicated range. For example, assume the size of each bin is 80 kHz. Suppose also that the SAGE 400 detected 1000 pulses and there are 256 frequency bins. The pulses had a bandwidth between 0 and 20,480 kHz. As another example, assume the SAGE 400 detects 65 pulses, each of which had a bandwidth somewhere between 400 and 480 kHz. Then, 6.5% of the pulses fall within the sixth bandwidth range, so the 6th bin (bin number 5) will have a value of 2×6.5%=13.

[0202] The bandwidth bins may have exactly the same width. For example, if the first bin is 80 kHz wide (and includes data for pulses with bandwidths from 0 to 79.999 kHz), then all successive bins will be 80 kHz wide. The second bin includes pulses from 80 kHz to 159.999 kHz; and the 256th bin—still 80 kHz wide—includes pulses with bandwidths from 20,400 kHz to 20,479.999 kHz.

[0203] Pulse Bandwidth Histogram Bins Sub-Field Name Description and Notes binSizekHz Size of bin in kHz. numBinsUsed N, for example 256. freqBins The percentage (x2) of pulses which have a bandwidth corresponding to the bandwidth of this byte. The first byte (byte 0) represents pulse bandwidths from 0 to binSizekHz. The second byte (byte 1) represents pulse bandwidths from binSizekHz to 2 x binSizekHz. (So byte 1 contains the % * 2 of pulses whose bandwidth fell within this range.) In general, the N^(th) bin represents pulses with bandwidths between (N − 1) * binSizekHz, and N * binSizekHz. Again, the value of the byte represents the % * 2 of pulses whose bandwidths fell within this range.

[0204] For the pulse center frequency histogram, each data bin reflects a range of frequencies. The value stored in the bin is the percentage, multiplied times two, of the pulses whose center frequency fell within the indicated range of frequencies.

[0205] All frequency bins may be exactly the same width. However, in general, the lowest bin (byte number 0) does not start with the frequency 0 Hz. Recall that the pulse histogram message header (PhistMsgHdr_t) has a sub-field histCenterFreqkHz, which is measure in kHz. This field defines the center frequency for the pulse center frequency histogram.

[0206] The following formulae give the actual frequency range covered by each bin of this histogram, indicating both the low frequency and the high frequency of the range. The number N is the bin number, where bin numbers are counted from freqBins 0 to freqBins 255:

[0207] Low Frequ. (bin N)=histCenterFreqkHz−(128 * binSizekHz)+(N * binSizekHz)

[0208] High Frequ. (bin N)=histCenterFreqkHz−(128 * binSizekHz)+(( N +1) * binSizekHz))

[0209] Suppose the size of each bin, in kHz, is 100 kHz, and that the bandwidth is 2.4 GHz. Frequencies are actually being monitored in the range from 2,387,200 kHz to 2,412,800 kHz. Suppose also that SAGE 400 detected 1000 pulses, and 80 pulses with center frequencies in the range from 2,387,600 kHz to 2,387,699 kHz. Then 8% of the pulses fall within the fifth bandwidth range, so bin 4 will have a value of 2×8%=16.

[0210] The field structure for the pulse center frequency histogram is indicated in the table below.

[0211] Pulse Center Frequency Histogram Bins Sub-Field Name Description and Notes binSizekHz Size of bin in kHz, numBinsUsed N, for example 256. freqBins The percentage (x2) of pulses that have a central frequency corresponding to this byte.

[0212] For the pulse power histogram, each bin reflects a certain power range, measured in dBm. The value of each bin reflects the percentage (×2) of those pulses whose power level fell within the indicated range.

[0213] Pulse Power Histogram Bins Sub-Field Name Description and Notes powerBins Each bin indicates the % (x2) of those pulses which fell within the bin's designated power range. The range of each bin is 5 dBm, and the lower power of the lowest bin is −130 dBm. Therefore: bin[0] = −130 to −126 dBm bin[1] = −125 to −121 dBm bin[2] = −120 to −116 dBm . . . bin[N] = −130 + (N * 5) to −126 + (N * 5) . . . bin[29] = +15 to +19 dBm

[0214] Snapshot Data

[0215] Snapshot data, unlike other data provided by the NSI, is not based on data analysis by the SAGE or software. Rather, this data provide raw data from the ADC which precedes the SAGE and that converts the received signal analog signal to digital data.

[0216] The raw ADC data may be expressed in n-bit I/Q format, where ‘n’ is indicated by ‘bitsPerSample’. The snapshot samples can be used for location measurements, or for detailed pulse classification (such as identifying the exact model of a device). The size of the sample data contained in ‘snapshotSamples’ is typically 8 K bytes. The overall structure of the message is shown in the following table. Field Name Description and Notes sm1StdHdr_t msgType = 46 (SM_MSG_L1_INFO) sessType = 17 (SM_L1_SESS_SNAP) sm1InfoHdr_t transactionCnt = 1 smSnapshotMsg_t Snapshot message body. K is 24 + ‘snapshotSamplesLen’

[0217] An example of a snapshot message smSnapshotMsg_t field is defined below. Sub-Field Name Description and Notes snapshotStartSecs TARGET snapshot time in seconds snapshotStartNanosecs TARGET snapshot time in nanoseconds. numberOfSamples Number of IQ Snapshot Samples bitsPerSample Number of bits in a sample radioGainDb Radio gain in dB: −127 to 128 dB This is the radio gain used at the start of the sample interval. It may be used to convert the raw IQ samples into corresponding dBm power levels. pulseDetectorId Pulse Detector ID. Value of 0xFF indicates that a Pulse Detector was NOT used to trigger sampling. reserved Reserved for future expansion snapshotSamplesLen Number of bytes (N) in the ‘snapshotSamples’ field below. snapshotSamples Sample data. The size of this snapshotSamples is typically 8 k Bytes. Size N is the value in ‘snapshotSamplesLen’.

[0218] Spectrum Event Data (e.g., Monitoring Activity of Signals)

[0219] The msgType for spectrum event data is 46 and the sessType is 14 (SM_L1_SESS_EVENT). A format for the smEventMsg_t spectrum event message field is described in the table below. Sub-Field Name Description and Notes EventType Character string. Up to 16 characters, null terminated. Some typical examples of event types are: “Information”, “Identification”, “Interferer”, “Error”. EventDateTime Number of seconds past an arbitrary date, e.g., January 1, 1970 when smEventMsg was received. This field is essentially a placeholder; the value must be filled in by the receiving application. 0 is sent by the target. Displayed as hh:mm:ss mm/dd/yyyy. EventTimestampSecs TARGET event timestamp in seconds. Times are measured from when the monitoring began of the environment, not from some absolute calendar time. EventTimestampUsecs TARGET fractional portion of timestamp in microseconds. Times are measured from when the monitoring began of the environment, not from some absolute calendar time EventId Specific ID numbers are assigned to specific types of events. For example, a microwave oven startup may be ‘1’, a Bluetooth device may be ‘2’, a cordless phone may be ‘3’, etc. For “Interferer” event messages, the following format applies: Low Address Byte High Address Byte 16 High Bits - 15 Bits - 1-Bit: Reserved Device ID On/Off The Device ID must be combined with the On/Off bit to obtain the actual numeric value of the field. For example, if the Device ID for a Bluetooth ™ device is ‘2’, the fifteen-bit pattern is ‘0000 0000 0000 010’. But with the On/Off bit appended to the right, the bit pattern becomes: ‘0000 0000 0000 0101’ = Decimal 5 (device on), or ‘0000 0000 0000 0100’ = Decimal 4 (device off). EventSourceId Identifies the target source. This parameter is only significant when more than one source (for example, more than one AP) is feeding data to the requesting software or system. AlertLevel Warning Levels for Messages Suggested Display Value Severity Colors 1 Severe Red 2 High Orange 3 Elevated Yellow 4 Guarded Blue 5 Low Green EventMsg This is a brief character string message, null terminated, which identifies the event that caused the message. For example, it may say “Microwave oven has started”, or “Cordless phone”. The content of the message is essentially redundant with the EventId (above), except that it provides text instead of a numeric identifier. EventDescription The event description will typically contain more detailed information, and will often include advisory and/or recommendation information as to how to resolve interference or other situation caused by the event source. EventDetail The event detail will generally include pertinent technical parameters, such as power levels or frequency bandwidth associated with the event. Newline characters delimit individual lines.

[0220] Examples of the manner in which spectrum event messages may be displayed are shown in FIGS. 32-34, and described hereinafter.

[0221] Software and systems communicate requests to the NSI for data from the services on the other side of the NSI using the session control messages referred to above. An example of the format of the session control messages is as follows. There is a standard header followed by information elements. An information element is a data structure with several parts, as described in the following table: Field Name Description infoElementLen Number of bytes in this information element, including this length field. infoElementType Information element type number. This type is used to distinguish the information element. The types are UNIQUE across ALL messages. Ex: An ‘infoElementType’ of ‘1’ indicates “Reject Reason”, and has a particular meaning independent of the ‘sm1StdHdr_t.msgType’ field. infoElementBody This contains the significant data of the information element, and may have one or more sub-fields. The information element body. The format of the data is determined by the infoElementType field.

[0222] Typical information elements provide data such as the SAGE configuration data, radio configuration data, and service specific data (e.g., pulse data, spectrum data, etc.). Examples of NSI information elements are provided in the table below: Information Element infoElementType Name (decimal) Description IE_RETURN_CODE 1 Activity completion status return code information IE_SESSION_CFG 2 Session priority and startup configuration IE_SAGE_CFG 3 Common SAGE Config effecting multiple services IE_RADIO_CFG 4 Common radio configuration IE_COPY_CFG 5 Request copy of any data for that service, with optional notification of configuration updates. IE_SAPF_CFG 6 Spectrum Analyzer Power vs. Frequency configuration IE_PD_CFG 7 Pulse Detector Configuration IE_SA_STATS_CFG 8 Spectrum Analyzer Stats configuration IE_PHIST_CFG 9 Configuration of PHIST service IE_PEVT_CFG 10 Configuration of PEVT service IE_SNAP_CFG 12 Snapshot Buffer configuration IE_VENDOR_CFG 13 Vendor specific configuration information. IE_FLOW_CTRL 15 INFO Message Flow Control IE_VERSION 16 Version of NSI being used.

[0223] There is an advantage to using information elements in NSI session control messages. The format of session control messages can be modified or expanded over time, as technology is further developed, while requiring no revisions to existing software or systems that use the NSI. In other words, enhancements to the messages do not break legacy code.

[0224] In traditional software design, the network management software would be coded with the expectation of specific data structures for each of the session control messages. Any time the session control messages were changed or enhanced, changes would be required in the code for the network management software, and the code would need to be recompiled.

[0225] With session control messages, however, this is no longer necessary. Session control messages are processed as follows.

[0226] 1. The requesting software or system reads the message header, and determines what kind of message it is receiving.

[0227] 2. Software developers know what kinds of information elements will follow the header field based on a specification document. Design decisions are made to determine what kinds of actions the software or system will take in response to those information elements.

[0228] 3. In the code itself, after reading the header field, the software loops through information elements which follow. Only for information elements of interest-which can by flagged by the infoElementType field in each information element-the software takes appropriate action.

[0229] Additional information elements may be added to some of the session control messages. However, during the “looping” process the requesting software ignores any information elements which are not of interest to it, so the additional information elements in the control messages do not require any changes in the software code. Of course, it may be desirable to upgrade a software program to take advantage of additional types of information; but again, until that new software is in place, existing software continues to function.

[0230] This benefit works in both directions. For example, in sending messages to the NSI, the software program can send an information element which fine-tunes the behavior of the SAGE. Typically, however, SAGE's default operating modes are satisfactory, and there is no need to make changes. Rather than having to send an information element containing redundant, default configuration data for SAGE, this information element can simply be omitted.

[0231] A handshaking type protocol may be used to setup, initiate and terminate a session between the application and the NSI. There are numerous techniques known in the art to provide this function. For example, all tests are started by sending a sm1StdHdr_t field. Additional, optional information elements may follow. The NSI responds with messages indicating that the test has started successfully; that it was rejected; or that the test is pending (the test is queued behind other requests for the same service). The four possible session control reply messages are Started, Pending, Rejected, and Stop.

[0232] All Start Messages may have the following structure:

[0233] 1. A required sm1StdHdr_t field with a msgType value of SESS_START_REQ (40), and a value for sessType to indicate the test to be performed. This field may come first. For example, to start a pulse event test, the sessType value of 12 is used, to start a pulse histogram test, a sessType value of 13 is used, to start a spectrum analyzer power vs. frequency test, a sessType value of 10 is used, etc.

[0234] 2. An optional common session configuration information element. This configures parameters which are of interest for all the possible tests, described below.

[0235] 3. For the Pulse Event test only, an optional information element to configure the pulse detectors.

[0236] 4. Optional information elements to configure the SAGE and the radio.

[0237] 5. An optional, vendor-specific information element, typically (but not necessarily) related to further configurations to the radio.

[0238] 6. An optional session-type specific information element, with configuration information for the particular test (PEVT, PHIST, SAPF, etc.).

[0239] The general/common session configuration element IE_Session_CFG is optional when starting tests, i.e., with SESS_START_REQ. If it is not sent, the default values are used. Sub-Field Name Description infoElementLen Len = 20 infoElementType IE_SESSION_CFG = 2 infoElementBody pendingTimeoutMs Number of milliseconds before “START” times out. A value of ‘0’ (default) indicates that the START request should NOT be queued (that is, no SESS_PENDING_RSP, or session pending response, is allowed). configStopFlags This field has an Offset of 8/36; it has a size of 4 bytes. Sometimes it is desired that the service which is now being started should later stop if certain other services are reconfigured; the reconfiguration(s) which stops the current service is indicated by these flags: 0x00000000: Do not stop for any reconfig 0x00000001: SAGE Config 0x00000002: Radio Config  0x00000004: SAPF Config 0x00000008: SA_STATS Config   0x00000010: SNAP Config (Note that there are four pulse detectors (PDs), numbered 0 through 3.) 0x00000020: PD 0 Config   0x00000040: PD 1 Config 0x00000080: PD 2 Config   0x00000100: PD 3 Config 0x00000200: PHIST Config   0x00000400: PEVT Config 0x00000800: 80211_STATS Config 0x00001000: Vendor Config 0xFFFFFFFF: Use Default Value (depends on service type, see sub-table below) 1. These ‘configStopFlags’ allow cross-service interdependence. It may seem odd to abort an Spectrum Analyzer vs. Power Frequency (SAPF) session when, say, a PD 0 (pulse detector 0) is reconfigured. However there may be cases where the use of the outputs of these sessions are interrelated, particularly for event classification software. 2. If a session attempts to reconfigure a service to the same values that it already has, the service is NOT stopped and the reconfiguration is considered “successful”. 3. Flags can be combined. For example, 0x00000003 flags both SAGE and Radio Config 4. The default value depends on the service type: Service configStopFlags ALL SERVICES SAGE, Radio, Vendor EXCEPT 802.11 STATS Configs Spectrum Analyzer SAPF Config (SAPF) Spectrum Analyzer Stats SA_STATS Config (SA_STATS) Pulse Event (PEVT) PD 0, PD 1, PD 2, PD 3, PEVT Configs Pulse Histogram (PHIST) PD 0, PD 1, PD 2, PD 3, PHIST Configs 802.11 Stat 802.11 Stats, Radio, (80211_STATS) Vendor Configs Snapshot Buffer (SNAP) SNAP Config sessionDurationMs Duration of session in ms. 0 (the default) indicates no limit to the duration. sessionPriority 1 = highest, 254 = lowest, 255 (0xFF) requests the default session priority.

[0240] The radio is configured to a starting bandwidth (either 2.4 GHz or one of the 5 GHz bands, for example) before the NSI can begin any testing. Similarly, before many pulse test services can be run, at least one (if not more) of SAGE's four pulse detectors need to be configured at least once. These services include Pulse Events, Pulse Histograms, Snapshot Data, and Spectrum Analyzer Power vs. Frequency (but only if this test is to be triggered by pulse events). Once the pulse detectors are configured, they can be left in their initial configuration for subsequent tests, although the application program can reconfigure them.

[0241] The radio configuration element IE_Radio_CFG is described in the table below. It is used to fine-tune the performance of the radio. If the information element is not sent as part of the message, the radio is configured to the default values. Sub-Field Name Description infoElementLen Len = 8 infoElementType IE_RADIO_CFG = 4 infoElementBody cfreqkHz Center Frequency in kHz. Ex: 2400000 for 2.4 GHz There is no default value for this parameter. The radio must be configured to a starting center frequency by the user before 802.11 communications can begin (and of course, before the NSI can begin any testing), using either this information element or the vendor-specific information element. radioBwkHz Radio bandwidth in kHz. Examples: 83000 (83 MHz wideband radio) [default value] 23000 (23 MHz narrow band radio)

[0242] The SAGE configuration information element IE_SAGE_CFG is optional. It fine-tunes the performance of the SAGE 400. If the information element is not sent as part of the message, the SAGE 400 is configured to the default values. An example of the SAGE configuration element is set forth below. Sub-Field Name Description infoElementType IE_SAGE_CFG = 3 infoElementBody lpfParm Low Pass Filter Parameter: Parameter Low Pass Filter Value Value 0 1 1 1/2  2 1/4  3 1/8  4 1/16 5 1/32 6 1/64 7  1/128 0xFF use default sageCfgFlags Flags indicate if custom radioGain, AGC (automatic gain control) config, and/or narrow-band SAGE mode are requested: 0x01: radioGainControl indicated below (in the radioGainControl field) is used. 0x02: agcControl indicated below (in the agcControl field) is used. 0x04: narrow band (20 MHz) SAGE Mode (rather than wideband, or 100 MHz, which is the default) Flags correspond to bit settings for this byte, so 0x01 is the right-most bit; 0x02 is the second bit from the right; 0x04 is the third bit from the right. Any combination of flags may be set. If the corresponding flag is ‘0’ then the default value for these fields are used. radioGainControl This value is used if the matching bit is set in the sageCfgFlags. agcControl This value is used if the matching bit is set in the sageCfgFlags. “agc” stands for automatic gain control.

[0243] The IE_VENDOR_CFG information element contains vendor specific configuration information. Typically this is a configuration that is specific to the particular radio in use. Sub-Field Name Description infoElementType IE_VENDOR_CFG = 13 vendorInfo Vendor specific information. Format defined by Vendor.

[0244] The NSI provides a pulse detector configuration element (IE_PD_CFG) which is used to configure the pulse detectors. This element must be used the first time the pulse detectors are configured. It is also used if and when the pulse detectors are reconfigured (which may be infrequent). The optional pulse events test configuration element (IE_PEVT_CFG) are shown in the table below. If this configuration element is not sent, the default values are used for the test. Sub-Field Name Description infoElementType IE_PEVT_CFG = 10 maximumNumPevts Maximum number of Pulse Events in a given PEVT message (Default = 30) pdUsed These bit flags select which Pulse Detector(s) to use: 0x01: PD 0 used   0x02: PD 1 used 0x04: PD 2 used   0x08: PD 3 used Flags can be combined to indicate more than one pulse detector. For example, 0x0D (binary 0000 1101) indicates the use of pulse detectors 0, 2, and 3. A value of 0xF (binary 0000 1111) indicates to use all detectors (default value).

[0245] Configuring the pulse detectors involves selecting which pulse detector(s) to use for a test. It also involves providing parameters which indicate the kind of signal pulse (for example, ranges for signal power, pulse duration, pulse center frequency, etc.) will, in fact, be interpreted as being a pulse. There are a variety of options when dealing with pulse detectors:

[0246] Use the existing pulse detector configuration for the service.

[0247] Allocate a currently unused detector.

[0248] Reconfigure an existing pulse detector.

[0249] Release a pulse detector so that other sessions may use it.

[0250] Whether configuring a pulse detector before using it for the first time, or reconfiguring the detector, the header field will first be sent with a particular msgType. This will be followed by the pulse detector configuration element, IE_PD_CFG, described in the table below. (Other information elements may be included in the message as well.) Pulse detectors are selected using PD_ID sub-field values from 0 to 3. These do not correspond to physical pulse detectors; rather, they are a logical reference to a pulse detector that is used by that transport connection supporting the sessions. Field Name Description infoElementType IE_PD_CFG = 7 pdID Session Pulse Detector ID. Values of 0 to 3, for example. configActionType Configuration Action Type: 1: Allocate and configure the pulse detector for use by this session. 2: Reconfigure the existing pulse detector 3: Release the pulse detector for others to use. (If value is ‘3’ then the remaining fields are ignored). configProfile Configuration Profile: 0: Use the profile fields below. In other words, use ‘0’ for this field in order to completely determine the Pulse Detector configuration, using the remaining parameters in this information element. Any allowed non-zero value (currently 1 for short pulses, and 2 for long pulses): Selects one of several pre-defined configurations, suitable for detecting pulses from different kinds of sources. In this non-zero case, the remaining fields below are ignored. bwMinkHz Minimum pulse bandwidth in kHz. bwMaxkHz Maximum pulse bandwidth in kHz. bwHoldkHz Bandwidth hold value in kHz. bwThreshDbm dBm threshold value used to define a pulse. cfreqMinkHz Minimum value of pulse center frequency. Value is number of kHz from the start of the radio band. cfreqMaxkHz Maximum value of pulse center frequency in kHz. cfreqHoldkHz Center Frequency Hold value in kHz. durMinUsecs Minimum Pulse Duration in μseconds. durMaxUsecs Maximum Pulse Duration in μseconds. durMaxTermFlag Action to be performed on Duration Max: 0: Terminate Pulse with TERMCODE 0 (max duration pulse) 1: Discard Pulse (pulse is ignored) pwrMinDbm signed dBm value indicating the minimum pulse power. pwrMaxDbm signed dBm value indicating the maximum pulse power. pwrHoldDbm unsigned power hold value.

[0251] The field bwThreshDbm takes a signed dBm value that helps determine which RF signals will be counted as pulses. A pulse is defined by a series of time-contiguous, and bandwidth continuous “peaks”, or brief spikes, which determine the overall bandwidth of the pulse (thus the reference to “bandwidth threshold”). A “peak floor” is established to determine which spikes of radio energy qualify as a valid “peak”. Energy spikes below this “peak floor” do not qualify, whereas those above the “peak floor” do qualify. The bwThreshDbm parameter determines the “peak floor” based on whether ‘bwThreshDbm’ is positive or negative:

[0252] If bwThreshDbm is negative (ex: −65 dBm), then the peak floor is the same as the value of bwThreshDbm.

[0253] If bwThreshDbm is positive (ex: 24 dBm), then the peak floor is determined dynamically based on the current noise floor:

[0254] peak floor dBm=noise floor dBm+bwThreshDbm.

[0255] The noise floor based mechanism (bwThreshDbm is positive) is used almost exclusively because it responds well to changes in the radio spectrum environment.

[0256] There may be pre-defined pulse detection configurations, shown in the table below, to detect certain types of signal pulses. IE_PD_CFG configProfile Field Value Profile Name Profile Description/Notes 1 ShortPulse1 Captures short pulse frequency hoppers, including Bluetooth headsets and many cordless phones. 2 LongPulse1 Captures long pulses output by microwave ovens and television transmissions (infant monitors, surveillance cameras, X-10 cameras, etc.).

[0257] This following short pulse profile is suitable for detecting short pulse frequency hoppers, such as Bluetooth™ headsets and many cordless phones. IE_PD_CFG field Profile field name value Notes bwMinkHz 300 Pulse BW from 300 kHz to 4 MHz, bwMaxkHz 4000 with 4.5 MHz hold bwHoldkHz 4500 bwThreshDbm 24 Pulse defined 24 dBm above noise floor. cfreqMinkHz 6000 6 MHz to 94 MHz center frequency, cfreqMaxkHz 94000 with 2 MHz hold. cfreqHoldkHz 2000 durMinUsecs 250 Pulse durations from 250 to 2000 μs. durMaxUsecs 2000 durMaxTermFlag 1 Discard the pulse if it is equal to, or longer than, the maximum duration of 2000 μs. pwrMinDbm −85 Pulse power from −85 to 0 dBm, with pwrMaxDbm 0 15 dB hold. pwrHoldDbm 15

[0258] The following long pulse profile is suitable for detecting long pulses output by Microwave Ovens and television transmissions (infant monitors, surveillance cameras, X-10 cameras, etc.). IE_PD_CFG field Profile field name value Notes bwMinkHz 300 Pulse BW from 300 kHz to 20 MHz, bwMaxkHz 20000 with 8 MHz hold bwHoldkHz 8000 bwThreshDbm 24 Pulse defined 24 dBm above noise floor. cfreqMinkHz 6000 6 MHz to 94 MHz center frequency, cfreqMaxkHz 94000 with 8 MHz hold. cfreqHoldkHz 8000 durMinUsecs 2800 Pulse durations from 2800 to 8000 μs durMaxUsecs 8000 durMaxTermFlag 0 Do not discard long pulses pwrMinDbm −70 Pulse power from −70 to 0 dBm, pwrMaxDbm 0 with 20 dB hold. pwrHoldDbm 20

[0259] Before running a pulse histogram test for the first time, the pulse detectors need to be configured. This is done by first running a pulse event test, described above. A session control message is sent containing a header field with a sessType value of ‘13’. That is followed by the optional information elements, as shown in the table below detailing the optional pulse histogram test configuration element (IE_PHIST_CFG). If it is not sent, the default values (shown in the table) are used. Sub-Field Name Description infoElementType IE_PHIST_CFG = 9 forwardTimeoutMs Number of milliseconds between each Pulse Histogram message update. The default is 1000 (which yields 1 Pulse Histogram message each second). pdUsed These bit flags select which Pulse Detector(s) to use: 0x01: PD 0 used   0x02: PD 1 used 0x04: PD 2 used   0x08: PD 3 used Flags can be combined to indicate more than one pulse detector. For example, 0x0D (binary 0000 1101) indicates the use of pulse detectors 0, 2, and 3. A value of 0xF (binary 0000 1111) indicates to use all detectors (default value).

[0260] The spectrum analyzer power vs. frequency test is started by sending a session control message containing a header field with a sessType value of ‘10’; that is followed by the optional information elements, as shown below. Sub-Field Name Description infoElementType IE_SAPF_CFG = 6 usecsBetweenSamples This value indicates the number of μseconds between spectrum analyzer power vs. frequency samples. The default value of 100,000 translates to 10 samples per second. transitionalPdUsed Indicates of which PD to use for Transitional Mode. 0x00: PD 0 used   0x01: PD 1 used 0x02: PD 2 used   0x03: PD 3 used 0xFF: Transitional mode NOT USED (default value) If ‘transitionalPdUsed’ is not equal to 0xFF, then the SAPF sample collection is turned on and off via the specified Pulse Detector. When the Pulse Detector is ON (a pulse is in progress), SAPF samples are collected. When the Pulse Detector transits to OFF, the samples are stopped. The time between samples sent to the user is still determined by ‘usecsBetweenSamples’.

[0261] The spectrum analyzer statistics test is started by send a session control message containing a header field with a sessType value of ‘11’. That is followed by the optional information elements, as described below. Sub-Field Name Description infoElementType IE_SA_STATS_CFG = 8 usecsBetweenSamples Indicates the number of μseconds between spectrum analyzer stats updates. A default value of 100,000 translates to 10 samples per second. pwrThreshDbm dBm power threshold value used by “duty cycle” and “peak count” stats info. The default value is 24 dBm. (The “duty cycle” statistics indicate how often the signal power is above the threshold value. The “peak count” statistics will only count peaks at or above the threshold.)

[0262] The field pwrThreshDbm takes a signed dBm value that helps determine the minimum power level for the “duty cycle” and the “peak count.” The pwrThreshDbm parameter determines the “floor”, or minimum energy level for these measurements, based on whether pwrThreshDbm is positive or negative:

[0263] If pwrThreshDbm is negative (e.g.,: −65 dBm), then the floor is the same as the value of pwrThreshDbm.

[0264] If pwrThreshDbm is positive (e.g.,: 24 dBm), then the floor is determined dynamically based on the current noise floor: power floor dBm=noise floor dBm+pwrThreshDbm. A noise floor based mechanism (pwrThreshDbm is positive) is used almost exclusively because it responds well to changes in the radio spectrum environment.

[0265] The spectrum event data test is started by sending a message containing a header field with a sessType value of ‘14’.

[0266] The snapshot message test is started by sending a message containing a header field with a sessType value of ‘17’, followed by the optional configuration elements. The optional snapshot message configuration element (IE_SNAP_CFG) follows. If it is not sent, default values are used for the test. Sub-Field Name Description infoElementLen Len = 12 infoElementType IE_SNAP_CFG = 12 numberSamples Number of samples to capture snapPdUsed Snapshot Pulse Detector used to trigger the snapshot. 0x00: PD 0 used   0x01: PD 1 used 0x02: PD 2 used   0x03: PD 3 used 0xFF: Snapshot Use DISABLED

[0267] By specifying which pulse detector is used to trigger the snapshot capture, it is possible to control which types of signal pulses are detected to trigger a raw ADC data capture.

[0268] The NSI may reply to test start messages to inform the requesting software application of the status of the test, and the ability of the underlying applications to deliver data for the requested tests. It is also possible to stop a test that has been requested. The table below summarizes the session control status messages which may be sent via the NSI.

[0269] An example of how the NSI can be used to configure and obtain data from a SAGE pulse detector is shown in FIG. 28. In the diagram, solid lines are for the unified message and the dotted lines indicate the headers, information elements and information messages sent that make up a single message. Step 7000 represents a software application sending to the NSI a start message. The message includes a message header with a particular msgType value that indicates it is a start message and a sessType value to indicate that it is a pulse event test. If it is the first message request sent, the start message includes either the IE_Radio_CFG element, or the IE_VENDOR_CFG element. Two IE_PD_CFG elements are sent to configure pulse detector 0 to detect short pulses and pulse detector 1 to detector long pulses. A pulse event information element IE_PEVT_CFG is also sent to indicate which of the configured pulse detectors to use. The applicable data from the SAGE is generated and made available to the NSI. In step 7010, the NSI replies with a message confirming that the service was started and the status of the service in process. In step 7020, a series of informational messages are sent with data. Each message includes indicates that it is an informational message and includes one or more of the ClassPevt fields which hold the actual data that described the measured properties of pulses that are detected within the configured parameters. Further information messages are sent as shown at step 7030.

[0270] Referring to FIGS. 28-36, output an exemplary graphical user interface (GUI) application useful for interfacing spectrum activity and management information to/from a user. The GUI provides a means to monitor, configure and analyze the various components of the spectrum management system. It interacts with other components of the spectrum management system via the NSI referred to above in conjunction with FIG. 27.

[0271] The GUI application may be written in Java® and may use sockets over TCP, for example, to communicate with the spectrum activity information associated with a particular radio communication device. The GUI application software loads a PE.ini file at initialization that contains all the configuration related information like hostname and the port number. Once the communication is established the application will spawn and thread which will wait on the port to detect spectrum activity information messages coming from the source device. As information comes through the socket it is processed and displayed to the various components that are detecting these messages. The message dispatcher dispatches the processed messages to appropriate display panels. All the messages coming through the socket will also be stored in a log file located in a directory specified by the user in the PE.ini against the key PE_LOGS. The GUI application is fed by data from the measurement engine and the classification engine (and optionally the spectrum expert or other applications) referred to above in conjunction with FIG. 27.

[0272] The GUI consists of several sub-parts:

[0273] Fault Management. Provides a means to detect, receive and provide fault information. The fault information describes the cause of the fault.

[0274] Configuration Management. Provides a means to configure the spectrum components. A spectrum advisor provides configuration related information and guides the user through the configuration process.

[0275] Performance Management. Monitors traffic of a communication protocol, such as an IEEE 802.11 network, and collects statistical information indicative of spectrum utilization and displays them.

[0276] Event Management. Provides a means to monitor various spectrum events and display this information in the form of graphs and histograms.

[0277] A graphs panel consists of the graphs or plots on the right of the screen and plot type on the left tree view. When the tree view is opened and any plot type is clicked, the corresponding plot will be added and displayed on the right side. Any plot on the right side of the screen can be removed by clicking on the close icon on the plot. As soon as the “Start” button is hit and data is available on the socket the spectrum analyzer plots will be plotted. If the “Stop” button is pressed the plotting action is disabled and the spectrum analyzer plots will no longer be updated with incoming data. The spectrum activity information is displayed on the spectrum analyzer graphs, pulse histograms and pulse plots.

[0278] The spectrum analyzer graph in FIG. 29 contains spectrum analyzer power vs. frequency, described above. The spectrum analyzer stats are shown in FIG. 30 and include the spectrum analyzer stats graph, the duty cycle graph, and number of peaks bar chart. This SA stats graph displays statistical data on the frequency spectrum. It is based on spectrum messages, where a single message is built from a specific number of successive FFT cycles. Typically, 40,000 successive FFTs of the RF spectrum, taken over a total time of {fraction (1/10)} of a second, are used to construct the statistics for a single message. A first line shows the average power over the sampling period (i.e., over the 40,000 FFTs, or {fraction (1/10)} second). A second line, which can change rapidly from {fraction (1/10)} of a second to the next, represents the “maximum power per single sampling period.” It shows the maximum power achieved in each of 256 frequency bins, during the {fraction (1/10)} second sampling period. A third line represents the “absolute maximum power” over all messages received so far. The Duty Cycle graph shows the percentage of the time that, for a given frequency, the power in the RF spectrum is above a specified threshold.

[0279] The Number of Peaks chart shows the percentage of time that there are “N” peaks in the RF spectrum. For example, if the “0” bar is hovering around 50%, then 50% of the time there are no peaks at all. If the “1” bar is hovering at around 20%, then 20% of the time there is just 1 peak in the RF spectrum. If the “2” bar hovers at 5%, then 5% of the time SAGE is detecting 2 peaks in the RF spectrum. (The “9” bar is a special case: If the “9” bar is hovering at, say, 3%, then 3% of the time SAGE is seeing 9 or more peaks in the RF spectrum.

[0280]FIG. 31 shows exemplary pulse histogram plots for center frequency, bandwidth, pulse duration, pulse gap, pulse power and pulse count. As soon as the “Start” button and histogram data is available on the socket the histograms will be plotted. If the “Stop” button is pressed the plotting action is disabled and the histograms will no longer be updated with incoming data. The following types of plots are available for viewing:

[0281] Center Frequency shows the distribution of the central frequencies of the pulses. The graph spans a bandwidth of 100 MHz. The actual central frequency is determined by combining the central frequency shown on the graph with the overall RF center frequency (2.4 GHz). Also, both ends of the graph are typically flat, since the actual bandwidth captured by the radio is 83 MHz.

[0282] Bandwidth shows the distribution of the bandwidths of the pulses.

[0283] Pulse Duration shows the distribution of the duration of the pulses. For example, a peak at around 200 μsec indicates that many of the pulses persist for about 200 μsec.

[0284] Pulse Gap shows the distribution of the gap times. A peak at about 1500 μsec indicates that many of the pulses are separated in time by gaps that are about 1500 μsec long.

[0285] Pulse Power indicates the distribution of the power of the pulses.

[0286] Pulse Count indicates, on a logarithmic scale, the number of pulse events counted per sample interval. Colors may be used indicate that the number of pulses poses little risk, some risk, or significant risk, for example, to a particular type of communications occurring in the radio frequency band, such as 802.11 communications.

[0287] FIGS. 28-30 are examples of how characteristics (e.g., center frequency, power, duty cycle, etc.) of a signal classified by the classification engine may be displayed to a user.

[0288]FIG. 32 shows a pulse chart/plot for various pulses detected in the frequency band. When the “Capture” button is selected, the GUI application will capture the pulses and display them on the pulse chart. Each pulse is defined in three dimensions and presents a single dot for each pulse. It is intended to show the time at which each pulse occurred (horizontal axis), the center frequency (vertical axis), and the power (the dot color). A color-coded legend may be used on the left side of the pulse chart. A zooming action can be performed by dragging the mouse on a specified area in the plot below the area to be zoomed, in order to magnify that area.

[0289]FIG. 33 shows how an alert may be generated when interference is detected, wherein the alert is displayed in an icon on a GUI bar. A user clicks that icon for more information and gets to the spectrum management console window in FIG. 34. In the spectrum management tab, there may be icons representing signals types that are being detected and classified in the frequency band, as well as textual information identifying those devices. In addition, there may be a sub-window that displays a “capacity rating” for the frequency band, indicating how much capacity in the frequency band is available based on the types of devices and traffic currently in use in the frequency band. The capacity rating may be derived from the “Quality” measurement reported above as a spectrum analyzer statistic, and is a qualitative estimate of the carrying capacity of the entire frequency band.

[0290] By clicking on the “Event Log” button on the spectrum management console window in FIG. 34, the event log screen of FIG. 35 is displayed. The events log displays event information in a tabular format for all the RF events that the SAGE, measurement engine and classification engine have detected. Each event has associated with it fields including an event message, event data and time, event time stamp, event ID and event source ID, similar to the fields of the NSI spectrum event message described above:

[0291] The Alert Level, ranging from Low to High to Severe, indicates how much interference the event may cause for 802.11 communications.

[0292] The Type of event includes, “Interferer” (for example, a signal that may interfere with IEEE 802.11 communications), “Information” and “Error”.

[0293] A specific Message describing the event.

[0294] The Date & Time of the event. This is the date and time is filled in by the application (i.e., the Event Log software), based on the computer's internal clock.

[0295] A Time Stamp in seconds and microseconds, indicating the time when the event occurred, counting from when testing first began. This data is provided by the measurement engine (from the SAGE).

[0296] The ID indicates the device type, and a table below provides a partial list of IDs. 15 Bit Device ID (Bits 4, 3, and 2 shown, with corresponding 1-Bit: On/ Decimal Value [taking blank 1-Bit into account]) Off 2 (001_) - Microwave Oven 1 = On 4 (010_) - GN Netcom Cordless Phone 0 = Off 6 (011_) - Bluetooth Headset 8 (100_) - Infant Monitor

[0297] For example, a display value of 7 is the same as ([011] [1]), meaning a Bluetooth Headset was turned on. 8 ([100] [0]) means an Infant Monitor was just turned off. An additional field may be provided to indicate (and display) a measure of match confidence of the classification.

[0298] The Source ID identifies the target source. This parameter is only significant when more than one source (Access Point or STA) is feeding data to the application program.

[0299] More detailed information is displayed about a particular event by clicking on an event row which will open up a dialog. This dialog contains detailed information about the event in the form of a text area containing a description of the event and a text area containing details of the event. Examples of detailed event dialogs are shown in FIGS. 36 and 37. FIG. 36 illustrates exemplary spectrum event summary information after an action was executed according to a spectrum policy. The detailed event information indicates the action that was automatically taken. By contrast, FIG. 37 shows event information in which an action was not automatically taken, rather a recommendation to the user is made in the detail text box that suggests how a user may avoid interference with another device detected in the frequency band.

[0300] In sum, a method for classifying signals occurring in a frequency band, comprising steps of generating data for one or more attributes of radio frequency energy received in the frequency band over time; and executing against the data a plurality of classification procedures to identify signals occurring in the frequency band. Similarly, a processor readable medium encoded with instructions that, when executed by a processor, cause the processor to classify signals occurring in a frequency band, comprising a step of executing against data for one or more attributes for radio frequency energy a plurality of classification procedures each of which is dedicated to identifying a particular signal occurring in a frequency band. In addition, a radio device is provided comprising a radio transceiver that receives radio frequency energy in a radio frequency band in which radio signals of multiple types may be occurring; a Fast Fourier Transform (FFT) circuit coupled to the radio transceiver that converts received samples of the radio frequency energy into power versus frequency data comprising power levels for each of a plurality of frequency bins during an FFT interval; a spectrum analyzer circuit that is coupled to the FFT circuit that generates statistics from the power versus frequency data including at least one of an average power statistic for each frequency bin over a plurality of FFT intervals a maximum power statistic for each frequency bin over a plurality of FFT intervals; a plurality of pulse detectors that are coupled to receive the output of the FFT circuit, each of the pulse detectors being configurable to simultaneously detect signal pulses of radio frequency energy having signal pulse characteristics that fall within configurable ranges for at least one of center frequency, duration and bandwidth from the power versus frequency data, and output signal pulse data for pulses that meet the corresponding signal pulse characteristics; and a processor coupled to accumulate data output by the pulse detectors and the spectrum analyzer circuit and executing a plurality of classification procedures against the accumulated data to identify signals occurring in the frequency band.

[0301] The above description is intended by way of example only. 

What is claimed is:
 1. A method for classifying signals occurring in a frequency band, comprising steps of: a. generating data for one or more attributes of radio frequency energy received in the frequency band over time; and b. executing against the data a plurality of classification procedures to identify signals occurring in the frequency band.
 2. The method of claim 1, wherein the step of generating data comprises generating signal pulse data for pulses of radio frequency energy detected in the frequency band over time.
 3. The method of claim 2, wherein the step of generating signal pulse data comprises computing spectral information representing the radio frequency energy and simultaneously comparing the spectral information with at least two sets of signal pulse characteristics, wherein each set of signal pulse characteristics comprises ranges for at least one of center frequency, duration and bandwidth, and outputting signal pulse data for pulses that meet any one of the sets of signal pulse characteristics.
 4. The method of claim 3, and further comprising the step of accumulating over a time interval signal pulse data for signal pulses detected in the frequency band, wherein the accumulated signal pulse data comprises one or more of the start time, center frequency, bandwidth and duration for each detected signal pulse.
 5. The method of claim 4, wherein the step of executing comprises executing each of the plurality of the classification procedures, one at a time, against the accumulated signal pulse data.
 6. The method of claim 5, and further comprising the step of designating for one or more signal pulses in the accumulated signal pulse data an identifier corresponding to the classification procedure that achieves a sufficient match to the one or more signal pulses.
 7. The method of claim 6, wherein the step of accumulating comprises accumulating signal pulse data for a plurality of time intervals, and wherein the step of executing comprises executing each of the plurality of classification procedures against the accumulated signal pulse data for each time interval, one time interval at a time.
 8. The method of claim 7, wherein the step of executing comprises executing a classification procedure that compares a timing template describing at least one time period between signal pulses that satisfy defined ranges of at least one of bandwidth, duration and center frequency against the accumulated data to identify a particular signal occurring in the frequency band.
 9. The method of claim 8, and further comprising the step of tracking the number of matches and misses of signal pulses with respect to the timing template.
 10. The method of claim 9, wherein for a classification procedure, further comprising the step of comparing the results of the signal pulse data comparisons with test requirements that are initially relatively more rigorous to provide initial indications that a corresponding particular signal is occurring and that become less rigorous after the initial indications.
 11. The method of claim 10, and further comprising the step of declaring a classification procedure has identified a particular signal when the number of matches of signal pulses with respect to a timing template achieves a first threshold and subsequently determining that the number of matches of signal pulses with respect to signals pulses expected to match achieves a second threshold, wherein the second threshold is less rigorous than the first threshold.
 12. The method of claim 9, and further comprising the step of declaring a classification procedure has identified a particular signal when the number of matches of signal pulses with respect to the timing template at least achieves a threshold.
 13. The method of claim 4, and further comprising the step of accumulating one or more histograms from the accumulated signal pulse data that represent trends over time for one or more of the center frequency, bandwidth, duration and time between pulses of radio frequency energy detected in the frequency band.
 14. The method of claim 13, wherein the step of accumulating one or more histograms comprises building one or more histograms selected from the group consisting of: a center frequency histogram that tracks a percentage of time a given center frequency was observed for detected signal pulses, a bandwidth histogram that tracks the percentage of time a given bandwidth was observed for detected signal pulses, a pulse duration histogram that tracks a percentage of time a given duration or durations was observed for detected signal pulses, a time between pulses histogram that tracks a percentage of time that a given time duration or durations was observed between signal pulses and a number of active transmissions histogram that tracks when several different signal pulses simultaneously occur.
 15. The method of claim 13, and further comprising the step of selecting a subset of the plurality of classification procedures that correspond to signals that are likely occurring in the frequency band based on the histograms.
 16. The method of claim 15, wherein the step of executing comprises executing the subset of the plurality of classification procedures against the accumulated data.
 17. The method of claim 1, wherein the step of executing comprises executing a classification procedure that compares a timing template describing at least one time period between signal pulses that satisfy defined ranges of at least one of bandwidth, duration and center frequency against the accumulated data to identify a particular signal occurring in the frequency band.
 18. The method of claim 1, wherein the step of executing comprises executing a classification procedure that compares a power template describing power versus frequency characteristics against power versus frequency data derived from the received radio frequency energy to identify a signal occurring in the frequency band.
 19. The method of claim 18, wherein the step of executing comprises executing a classification procedure that compares each of a plurality of power templates describing power versus frequency characteristics against the power versus frequency data, wherein a particular signal is declared to be occurring when the power versus frequency data matches any one of the plurality of power templates.
 20. The method of claim 19, wherein the step of executing comprises executing a classification procedure that compares each of the plurality of power templates against power versus frequency data for multiple sampling intervals, and wherein the particular signal is determined to be occurring when the power versus frequency data matches at least one of the plurality of power templates for each of a predetermined number of time intervals of power versus frequency data.
 21. The method of claim 19, wherein the step of executing comprises executing a classification procedure that compares each of the plurality of power templates against power versus frequency data for multiple time intervals, and wherein the particular signal is determined to be occurring when the power versus frequency data matches all of the power templates over the multiple time intervals.
 22. The method of claim 21, wherein the step of executing comprises executing a classification procedure that requires a match to a different one of the plurality of power templates during each of the multiple time intervals.
 23. The method of claim 18, wherein the step of executing a classification procedure comprises comparing a power template describing average power versus frequency characteristics against average power versus frequency data for a time interval derived from the radio frequency energy occurring in the frequency band.
 24. The method of claim 18, wherein the step of executing comprises comparing a power template describing maximum power versus frequency characteristics against maximum power versus frequency data for a time interval derived from the radio frequency energy occurring in the frequency band.
 25. The method of claim 18, wherein the step of executing comprises executing a classification procedure that compares a template of Fast Fourier Transform (FFT) data for a portion of a known signal pulse against spectral information for a portion of a signal pulse determined to occur in the frequency band.
 26. The method of claim 25, wherein the step of executing comprises comparing a template describing spectral information for beginning portion of a known signal against FFT data for the beginning portion of a detected signal pulse.
 27. The method of claim 1, wherein the step of generating data comprises capturing baseband modulated digital samples associated with received radio frequency energy.
 28. The method of claim 27, wherein the step of executing comprises executing a classification procedure that compares a template of baseband modulated digital samples for a portion of signal pulse for a known signal against the captured baseband modulated digital samples.
 29. A processor readable medium encoded with instructions that, when executed by a processor, cause the processor to classify signals occurring in a frequency band, comprising a step of executing against data for one or more attributes for radio frequency energy a plurality of classification procedures each of which is dedicated to identifying a particular signal occurring in a frequency band.
 30. The processor medium of claim 29, and further comprising instructions that, when executed by the processor, cause the processor to accumulate over a time interval signal pulse data for signal pulses detected in the frequency band, wherein the accumulated signal pulse data comprises one or more of the start time, center frequency, bandwidth and duration for each detected signal pulse.
 31. The processor readable medium of claim 30, and further comprising instructions that, when executed by the processor, cause the processor to execute each of the plurality of the classification procedures, one at a time, against the accumulated signal pulse data.
 32. The processor readable medium of claim 32, and further comprising instructions that, when executed by the processor, cause the processor to designate for one or more signal pulses in the accumulated signal pulse data an identifier corresponding to the classification procedure that achieves a sufficient match to the one or more signal pulses.
 33. The processor readable medium of claim 32, and further comprising instructions that, when executed by the processor, cause the processor to accumulate signal pulse data for a plurality of time intervals, and to execute each of the plurality of classification procedures against the accumulated signal pulse data for each time interval, one time interval at a time.
 34. The processor readable medium of claim 31, and further comprising instructions that, when executed by the processor, cause the processor to execute a classification procedure that compares a timing template describing at least one time period between signal pulses that satisfy defined ranges of at least one of bandwidth, duration and center frequency against the accumulated data to identify a particular signal occurring in the frequency band.
 35. The processor readable medium of claim 34, and further comprising instructions that, when executed by the processor, cause the processor to track the number of matches and misses of signal pulses with respect to the timing template.
 36. The processor readable medium of claim 35, and further comprising instructions that, when executed by the processor, cause the processor to, for a classification procedure, compare the results of the signal pulse data comparison with test requirements that are initially relatively more rigorous to provide initial indications that a corresponding particular signal is occurring and that become less rigorous after the initial indications.
 37. The processor readable medium of claim 36, and further comprising instructions that, when executed by the processor, cause the processor to declare a classification procedure has identified a particular signal when the number of matches of signal pulses with respect to a timing template achieves a first threshold and subsequently determining that the number of matches of signal pulses with respect to signals pulses expected to match achieves a second threshold, wherein the second threshold is less rigorous than the first threshold.
 38. The processor readable medium of claim 35, and further comprising instructions that, when executed by the processor, cause the processor to declare a classification procedure has identified a particular signal when the number of matches of signal pulses with respect to the timing template at least achieves a threshold.
 39. The processor readable medium of claim 33, and further comprising instructions that, when executed by the processor, cause the processor to accumulate one or more histograms from the accumulated signal pulse data that represent trends over time for one or more of the center frequency, bandwidth, duration and time between pulses of radio frequency energy detected in the frequency band.
 40. The processor readable medium of claim 39, and further comprising instructions that, when executed by the processor, cause the processor to build one or more histograms selected from the group consisting of: a center frequency histogram that tracks a percentage of time a given center frequency was observed for detected signal pulses, a bandwidth histogram that tracks the percentage of time a given bandwidth was observed for detected signal pulses, a pulse duration histogram that tracks a percentage of time a given duration or durations was observed for detected signal pulses, a time between pulses histogram that tracks a percentage of time that a given time duration or durations was observed between signal pulses and a number of active transmissions histogram that tracks when several different signal pulses simultaneously occur.
 41. The processor readable medium of claim 39, and further comprising instructions that, when executed by the processor, cause the processor to select a subset of the plurality of classification procedures that correspond to signals that are likely occurring in the frequency band based on the histograms.
 42. The processor readable medium of claim 41, and further comprising instructions that, when executed by the processor, cause the processor to execute the subset of the plurality of classification procedures against the accumulated data.
 43. The processor readable medium of claim 30, and further comprising instructions that, when executed by the processor, cause the processor to execute a classification procedure that that compares a timing template describing at least one time period between signal pulses that satisfy defined ranges of at least one of bandwidth, duration and center frequency against the accumulated data to identify a particular signal occurring in the frequency band.
 44. The processor readable medium of claim 30, and further comprising instructions that, when executed by the processor, cause the processor to execute a classification procedure that compares a power template describing power versus frequency characteristics against power versus frequency data derived from the received radio frequency energy to identify a signal occurring in the frequency band.
 45. The processor readable medium of claim 44, and further comprising instructions that, when executed by the processor, cause the processor to execute a classification procedure that compares each of a plurality of power templates describing power versus frequency characteristics against the power versus frequency data, wherein a particular signal is declared to be occurring when the power versus frequency data matches any one of the plurality of power templates.
 46. The processor readable medium of claim 45, and further comprising instructions that, when executed by the processor, cause the processor to execute a classification procedure that compares each of the plurality of power templates against power versus frequency data for multiple sampling intervals, and wherein the particular signal is determined to be occurring when the power versus frequency data matches at least one of the plurality of power templates for each of a predetermined number of time intervals of power versus frequency data.
 47. The processor readable medium of claim 45, and further comprising instructions that, when executed by the processor, cause the processor to execute a classification procedure that compares each of the plurality of power templates against power versus frequency data for multiple time intervals, and wherein the particular signal is determined to be occurring when the power versus frequency data matches all of the power templates over the multiple time intervals.
 48. The processor readable medium of claim 47, and further comprising instructions that, when executed by the processor, cause the processor to execute a classification procedure that requires a match to a different one of the plurality of power templates during each of the multiple time intervals.
 49. A radio device comprising: a. a radio transceiver that receives radio frequency energy in a radio frequency band in which radio signals of multiple types may be occurring; b. a Fast Fourier Transform (FFT) circuit coupled to the radio transceiver that converts received samples of the radio frequency energy into power versus frequency data comprising power levels for each of a plurality of frequency bins during an FFT interval; c. a spectrum analyzer circuit that is coupled to the FFT circuit that generates statistics from the power versus frequency data including at least one of an average power statistic for each frequency bin over a plurality of FFT intervals a maximum power statistic for each frequency bin over a plurality of FFT intervals; d. a plurality of pulse detectors that are coupled to receive the output of the FFT circuit, each of the pulse detectors being configurable to simultaneously detect signal pulses of radio frequency energy having signal pulse characteristics that fall within configurable ranges for at least one of center frequency, duration and bandwidth from the power versus frequency data, and output signal pulse data for pulses that meet the corresponding signal pulse characteristics; and e. a processor coupled to accumulate data output by the pulse detectors and the spectrum analyzer circuit and executing a plurality of classification procedures against-the accumulated data to identify signals occurring in the frequency band. 